diff options
author | EvilSeph <evilseph@gmail.com> | 2012-10-31 13:53:24 -0400 |
---|---|---|
committer | EvilSeph <evilseph@gmail.com> | 2012-10-31 14:23:56 -0400 |
commit | 414f949379ea3a60347978dcaaf1980d7d00ea38 (patch) | |
tree | 20129b8bab67b6c8a2f3f771837e04355da14636 /src/main | |
parent | 3d4100a3272b0a109cc866cbd4b9ff98823e35f7 (diff) | |
download | bukkit-414f949379ea3a60347978dcaaf1980d7d00ea38.tar bukkit-414f949379ea3a60347978dcaaf1980d7d00ea38.tar.gz bukkit-414f949379ea3a60347978dcaaf1980d7d00ea38.tar.lz bukkit-414f949379ea3a60347978dcaaf1980d7d00ea38.tar.xz bukkit-414f949379ea3a60347978dcaaf1980d7d00ea38.zip |
Add EXPLOSION and DEFAULT RemoveCauses to the HangingBreakEvent.
EXPLOSION is used when a hanging entity is removed by an explosion.
DEFAULT is used when a hanging entity is removed by an uncategorised
cause.
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/org/bukkit/event/hanging/HangingBreakEvent.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/event/hanging/HangingBreakEvent.java b/src/main/java/org/bukkit/event/hanging/HangingBreakEvent.java index ef655dbf..87bbdcba 100644 --- a/src/main/java/org/bukkit/event/hanging/HangingBreakEvent.java +++ b/src/main/java/org/bukkit/event/hanging/HangingBreakEvent.java @@ -43,6 +43,10 @@ public class HangingBreakEvent extends HangingEvent implements Cancellable { */ ENTITY, /** + * Removed by an explosion + */ + EXPLOSION, + /** * Removed by placing a block on it */ OBSTRUCTION, @@ -50,6 +54,10 @@ public class HangingBreakEvent extends HangingEvent implements Cancellable { * Removed by destroying the block behind it, etc */ PHYSICS, + /** + * Removed by an uncategorised cause + */ + DEFAULT, } @Override |