mirror of
https://github.com/songoda/EpicHoppers.git
synced 2025-01-10 09:57:45 +01:00
fixed issue causing hoppers to incorrectly detect redstone power.
This commit is contained in:
parent
d87a9966eb
commit
7e6e1ad0c0
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user