From 6584a8a1b14252c46f8a6f2a9c1fe7d9e2b0a6cd Mon Sep 17 00:00:00 2001 From: Aikar Date: Fri, 29 Jan 2016 03:40:00 -0600 Subject: [PATCH] Remove completely invalid Redstone event for Netherrack --- ...y-invalid-Redstone-event-for-Netherr.patch | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 Spigot-Server-Patches/Remove-completely-invalid-Redstone-event-for-Netherr.patch diff --git a/Spigot-Server-Patches/Remove-completely-invalid-Redstone-event-for-Netherr.patch b/Spigot-Server-Patches/Remove-completely-invalid-Redstone-event-for-Netherr.patch new file mode 100644 index 000000000..5ca4ee82e --- /dev/null +++ b/Spigot-Server-Patches/Remove-completely-invalid-Redstone-event-for-Netherr.patch @@ -0,0 +1,25 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Aikar +Date: Fri, 29 Jan 2016 03:39:09 -0600 +Subject: [PATCH] Remove completely invalid Redstone event for Netherrack + +Was added years ago to special case 1 specific plugins needs +at that time, and is now causing heavy redstone lag in the +nether. + +diff --git a/src/main/java/net/minecraft/server/BlockBloodStone.java b/src/main/java/net/minecraft/server/BlockBloodStone.java +index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644 +--- a/src/main/java/net/minecraft/server/BlockBloodStone.java ++++ b/src/main/java/net/minecraft/server/BlockBloodStone.java +@@ -0,0 +0,0 @@ public class BlockBloodStone extends Block { + } + + // CraftBukkit start +- @Override +- public void doPhysics(World world, BlockPosition position, IBlockData iblockdata, Block block) { ++ //@Override // PaperSpigot - Remove completely invalid Redstone event for Netherrack ++ public void doPhysics_nvmplsdont(World world, BlockPosition position, IBlockData iblockdata, Block block) { + if (block != null && block.isPowerSource()) { + org.bukkit.block.Block bl = world.getWorld().getBlockAt(position.getX(), position.getY(), position.getZ()); + int power = bl.getBlockPower(); +-- \ No newline at end of file