summaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
authorEvilSeph <evilseph@gmail.com>2013-09-10 21:19:59 -0400
committerEvilSeph <evilseph@gmail.com>2013-09-10 22:24:07 -0400
commit710a20cbd2d5e8172459aac3ead6beea1df9bb82 (patch)
tree505be4a814a352f781a27b44b08100fdbc2c61bf /src/main
parentf44eaba812d9d1f251b8a34481a1f3454556ad83 (diff)
downloadbukkit-710a20cbd2d5e8172459aac3ead6beea1df9bb82.tar
bukkit-710a20cbd2d5e8172459aac3ead6beea1df9bb82.tar.gz
bukkit-710a20cbd2d5e8172459aac3ead6beea1df9bb82.tar.lz
bukkit-710a20cbd2d5e8172459aac3ead6beea1df9bb82.tar.xz
bukkit-710a20cbd2d5e8172459aac3ead6beea1df9bb82.zip
Add SpawnReason for Entity Reinforcements. Fixes BUKKIT-4744
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/org/bukkit/event/entity/CreatureSpawnEvent.java4
1 files changed, 4 insertions, 0 deletions
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
@@ -148,6 +148,10 @@ public class CreatureSpawnEvent extends EntityEvent implements Cancellable {
*/
SLIME_SPLIT,
/**
+ * When an entity calls for reinforcements
+ */
+ REINFORCEMENTS,
+ /**
* When a creature is spawned by plugins
*/
CUSTOM,