mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-23 16:23:50 -07:00
Made zombie invasions fire CreatureSpawn event. Fixes BUKKIT-1090
By: EvilSeph <evilseph@gmail.com>
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
Reference in New Issue
Block a user