diff options
Diffstat (limited to 'nms-patches/BlockRedstoneOre.patch')
-rw-r--r-- | nms-patches/BlockRedstoneOre.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nms-patches/BlockRedstoneOre.patch b/nms-patches/BlockRedstoneOre.patch index f209a284..417cd311 100644 --- a/nms-patches/BlockRedstoneOre.patch +++ b/nms-patches/BlockRedstoneOre.patch @@ -56,7 +56,7 @@ this.playEffect(world, blockposition); if (this == Blocks.REDSTONE_ORE) { + // CraftBukkit start -+ if (CraftEventFactory.callEntityChangeBlockEvent(entity, blockposition.getX(), blockposition.getY(), blockposition.getZ(), Blocks.LIT_REDSTONE_ORE, 0).isCancelled()) { ++ if (CraftEventFactory.callEntityChangeBlockEvent(entity, blockposition, Blocks.LIT_REDSTONE_ORE, 0).isCancelled()) { + return; + } + // CraftBukkit end |