summaryrefslogtreecommitdiffstats
path: root/nms-patches/BlockPressurePlateBinary.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nms-patches/BlockPressurePlateBinary.patch')
-rw-r--r--nms-patches/BlockPressurePlateBinary.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/nms-patches/BlockPressurePlateBinary.patch b/nms-patches/BlockPressurePlateBinary.patch
index c0855968..fea5dce1 100644
--- a/nms-patches/BlockPressurePlateBinary.patch
+++ b/nms-patches/BlockPressurePlateBinary.patch
@@ -20,7 +20,7 @@
+ org.bukkit.event.Cancellable cancellable;
+
+ if (entity instanceof EntityHuman) {
-+ cancellable = org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent((EntityHuman) entity, org.bukkit.event.block.Action.PHYSICAL, blockposition, null, null);
++ cancellable = org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent((EntityHuman) entity, org.bukkit.event.block.Action.PHYSICAL, blockposition, null, null, null);
+ } else {
+ cancellable = new EntityInteractEvent(entity.getBukkitEntity(), bworld.getBlockAt(blockposition.getX(), blockposition.getY(), blockposition.getZ()));
+ manager.callEvent((EntityInteractEvent) cancellable);