diff options
-rw-r--r-- | src/main/java/org/bukkit/event/hanging/HangingBreakByEntityEvent.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main/java/org/bukkit/event/hanging/HangingBreakByEntityEvent.java b/src/main/java/org/bukkit/event/hanging/HangingBreakByEntityEvent.java index 80851ed0..d3711687 100644 --- a/src/main/java/org/bukkit/event/hanging/HangingBreakByEntityEvent.java +++ b/src/main/java/org/bukkit/event/hanging/HangingBreakByEntityEvent.java @@ -10,7 +10,11 @@ public class HangingBreakByEntityEvent extends HangingBreakEvent { private final Entity remover; public HangingBreakByEntityEvent(final Hanging hanging, final Entity remover) { - super(hanging, HangingBreakEvent.RemoveCause.ENTITY); + this(hanging, remover, HangingBreakEvent.RemoveCause.ENTITY); + } + + public HangingBreakByEntityEvent(final Hanging hanging, final Entity remover, final HangingBreakEvent.RemoveCause cause) { + super(hanging, cause); this.remover = remover; } |