From 7e6e1ad0c0764312883677df48722a19e6d32c30 Mon Sep 17 00:00:00 2001 From: Brianna O'Keefe Date: Wed, 19 Dec 2018 09:17:55 -0500 Subject: [PATCH] fixed issue causing hoppers to incorrectly detect redstone power. --- .../main/java/com/songoda/epichoppers/handlers/HopHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EpicHoppers-Plugin/src/main/java/com/songoda/epichoppers/handlers/HopHandler.java b/EpicHoppers-Plugin/src/main/java/com/songoda/epichoppers/handlers/HopHandler.java index 9872eae..d37e45a 100644 --- a/EpicHoppers-Plugin/src/main/java/com/songoda/epichoppers/handlers/HopHandler.java +++ b/EpicHoppers-Plugin/src/main/java/com/songoda/epichoppers/handlers/HopHandler.java @@ -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);