diff options
Diffstat (limited to 'nms-patches/BlockTripwire.patch')
-rw-r--r-- | nms-patches/BlockTripwire.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nms-patches/BlockTripwire.patch b/nms-patches/BlockTripwire.patch index 22f5e313..249f6c29 100644 --- a/nms-patches/BlockTripwire.patch +++ b/nms-patches/BlockTripwire.patch @@ -26,7 +26,7 @@ + org.bukkit.event.Cancellable cancellable; + + if (object instanceof EntityHuman) { -+ cancellable = org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent((EntityHuman) object, org.bukkit.event.block.Action.PHYSICAL, blockposition, null, null); ++ cancellable = org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent((EntityHuman) object, org.bukkit.event.block.Action.PHYSICAL, blockposition, null, null, null); + } else if (object instanceof Entity) { + cancellable = new EntityInteractEvent(((Entity) object).getBukkitEntity(), block); + manager.callEvent((EntityInteractEvent) cancellable); |