mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-08-21 05:44:17 +00:00
Made zombie invasions fire CreatureSpawn event. Fixes BUKKIT-1090
This commit is contained in:
parent
220d1bb453
commit
cb46f4b8fe
1 changed files with 4 additions and 0 deletions
|
@ -128,6 +128,10 @@ public class CreatureSpawnEvent extends EntityEvent implements Cancellable {
|
||||||
* When an iron golem is spawned to defend a village
|
* When an iron golem is spawned to defend a village
|
||||||
*/
|
*/
|
||||||
VILLAGE_DEFENSE,
|
VILLAGE_DEFENSE,
|
||||||
|
/**
|
||||||
|
* When a zombie is spawned to invade a village
|
||||||
|
*/
|
||||||
|
VILLAGE_INVASION,
|
||||||
/**
|
/**
|
||||||
* When a creature is manually spawned
|
* When a creature is manually spawned
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Add table
Reference in a new issue