mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-07 16:57:42 +01:00
Made zombie invasions fire CreatureSpawn event. Fixes BUKKIT-1090
By: EvilSeph <evilseph@gmail.com>
This commit is contained in:
parent
2b3f74b32a
commit
862648f1e7
@ -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
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user