diff options
author | BlackHole <black-hole@live.com> | 2016-03-13 15:46:49 +0100 |
---|---|---|
committer | md_5 <git@md-5.net> | 2016-03-14 16:56:28 +1100 |
commit | 37a1591a7b3dc99897da89c2377fd69777b99dcd (patch) | |
tree | dc8ea62d0b4970098650477b83aecc4a37ad9e0f /src/main | |
parent | a63b264027e186d73adc5131056271aa4e28af8d (diff) | |
download | bukkit-37a1591a7b3dc99897da89c2377fd69777b99dcd.tar bukkit-37a1591a7b3dc99897da89c2377fd69777b99dcd.tar.gz bukkit-37a1591a7b3dc99897da89c2377fd69777b99dcd.tar.lz bukkit-37a1591a7b3dc99897da89c2377fd69777b99dcd.tar.xz bukkit-37a1591a7b3dc99897da89c2377fd69777b99dcd.zip |
Added CreatureSpawnEvent.SpawnReason.TRAP
Diffstat (limited to 'src/main')
-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 c035b37b..b5778f5c 100644 --- a/src/main/java/org/bukkit/event/entity/CreatureSpawnEvent.java +++ b/src/main/java/org/bukkit/event/entity/CreatureSpawnEvent.java @@ -165,6 +165,10 @@ public class CreatureSpawnEvent extends EntityEvent implements Cancellable { */ MOUNT, /** + * When an entity spawns as a trap for players approaching + */ + TRAP, + /** * When a creature is spawned by plugins */ CUSTOM, |