Made zombie invasions fire CreatureSpawn event. Fixes BUKKIT-1090

By: EvilSeph <evilseph@gmail.com>
This commit is contained in:
Bukkit/Spigot 2012-03-08 22:10:17 -05:00
parent 2b3f74b32a
commit 862648f1e7

View File

@ -128,6 +128,10 @@ public class CreatureSpawnEvent extends EntityEvent implements Cancellable {
* When an iron golem is spawned to defend a village
*/
VILLAGE_DEFENSE,
/**
* When a zombie is spawned to invade a village
*/
VILLAGE_INVASION,
/**
* When a creature is manually spawned
*/