From 710a20cbd2d5e8172459aac3ead6beea1df9bb82 Mon Sep 17 00:00:00 2001 From: EvilSeph Date: Tue, 10 Sep 2013 21:19:59 -0400 Subject: Add SpawnReason for Entity Reinforcements. Fixes BUKKIT-4744 --- src/main/java/org/bukkit/event/entity/CreatureSpawnEvent.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/main/java/org') diff --git a/src/main/java/org/bukkit/event/entity/CreatureSpawnEvent.java b/src/main/java/org/bukkit/event/entity/CreatureSpawnEvent.java index 24c4ebf7..f60c86ff 100644 --- a/src/main/java/org/bukkit/event/entity/CreatureSpawnEvent.java +++ b/src/main/java/org/bukkit/event/entity/CreatureSpawnEvent.java @@ -147,6 +147,10 @@ public class CreatureSpawnEvent extends EntityEvent implements Cancellable { * When a slime splits */ SLIME_SPLIT, + /** + * When an entity calls for reinforcements + */ + REINFORCEMENTS, /** * When a creature is spawned by plugins */ -- cgit v1.2.3