diff options
author | klugemonkey <klugemonkey@spawnchunk.com> | 2018-07-26 04:34:43 -0700 |
---|---|---|
committer | md_5 <git@md-5.net> | 2018-07-27 14:18:08 +1000 |
commit | 47e3d2954d0dd279c93524baec241b76acaef7c7 (patch) | |
tree | 9894226f53eb3f3f3695a301e0873cd9bad18288 | |
parent | c520a96024beeb557ebccbc0f18a938a232635a1 (diff) | |
download | bukkit-47e3d2954d0dd279c93524baec241b76acaef7c7.tar bukkit-47e3d2954d0dd279c93524baec241b76acaef7c7.tar.gz bukkit-47e3d2954d0dd279c93524baec241b76acaef7c7.tar.lz bukkit-47e3d2954d0dd279c93524baec241b76acaef7c7.tar.xz bukkit-47e3d2954d0dd279c93524baec241b76acaef7c7.zip |
Add SpawnReason.DROWNED
-rw-r--r-- | src/main/java/org/bukkit/event/entity/CreatureSpawnEvent.java | 4 |
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 4a8f2e18..73a26ba8 100644 --- a/src/main/java/org/bukkit/event/entity/CreatureSpawnEvent.java +++ b/src/main/java/org/bukkit/event/entity/CreatureSpawnEvent.java @@ -171,6 +171,10 @@ public class CreatureSpawnEvent extends EntityEvent implements Cancellable { */ SHOULDER_ENTITY, /** + * When a creature is spawned by another entity drowning + */ + DROWNED, + /** * When a creature is spawned by plugins */ CUSTOM, |