Permalink
Browse files

Don't perform redstone code for Powered Rails.

  • Loading branch information...
me4502 committed Aug 14, 2017
1 parent 2ed2975 commit 86a69b29a034ab22b074424eca58d82c0d8d036d
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/main/java/com/sk89q/craftbook/bukkit/MechanicListenerAdapter.java
@@ -300,6 +300,9 @@ private static void handleRedstoneForBlock(Block block, int oldLevel, int newLev
if(face != null)
handleDirectWireInput(new WorldVector(w, x + face.getModX()*2, y, z + face.getModZ()*2), block, oldLevel, newLevel);
}
break;
case BlockID.POWERED_RAIL:
return;
}
// For redstone wires and repeaters, the code already exited this method

0 comments on commit 86a69b2

Please sign in to comment.