fixed issue causing hoppers to incorrectly detect redstone power.

This commit is contained in:
Brianna O'Keefe 2018-12-19 09:17:55 -05:00
parent d87a9966eb
commit 7e6e1ad0c0

View File

@ -73,7 +73,7 @@ public class HopHandler {
}
Block block = location.getBlock();
if (block.isBlockPowered()) continue;
if (block.getBlockPower() != 0) continue;
if (block == null || block.getType() != Material.HOPPER) {
instance.getHopperManager().removeHopper(location);