mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-23 16:56:31 +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
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
|
||||
*/
|
||||
VILLAGE_DEFENSE,
|
||||
/**
|
||||
* When a zombie is spawned to invade a village
|
||||
*/
|
||||
VILLAGE_INVASION,
|
||||
/**
|
||||
* When a creature is manually spawned
|
||||
*/
|
||||
|
|
Loading…
Add table
Reference in a new issue