Made iron golems fire CreatureSpawn event. Fixes BUKKIT-1089
This commit is contained in:
parent
38588a1df1
commit
220d1bb453
@ -120,6 +120,14 @@ public class CreatureSpawnEvent extends EntityEvent implements Cancellable {
|
|||||||
* When a snowman is spawned by being built
|
* When a snowman is spawned by being built
|
||||||
*/
|
*/
|
||||||
BUILD_SNOWMAN,
|
BUILD_SNOWMAN,
|
||||||
|
/**
|
||||||
|
* When an iron golem is spawned by being built
|
||||||
|
*/
|
||||||
|
BUILD_IRONGOLEM,
|
||||||
|
/**
|
||||||
|
* When an iron golem is spawned to defend a village
|
||||||
|
*/
|
||||||
|
VILLAGE_DEFENSE,
|
||||||
/**
|
/**
|
||||||
* When a creature is manually spawned
|
* When a creature is manually spawned
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user