mirror of
https://github.com/songoda/EpicHoppers.git
synced 2025-02-09 16:31:32 +01:00
Hoppers will now disable when hit with redstone power.
This commit is contained in:
parent
aa918c6401
commit
739521efdd
@ -73,6 +73,8 @@ public class HopHandler {
|
|||||||
}
|
}
|
||||||
Block block = location.getBlock();
|
Block block = location.getBlock();
|
||||||
|
|
||||||
|
if (block.isBlockPowered()) continue;
|
||||||
|
|
||||||
if (block == null || block.getType() != Material.HOPPER) {
|
if (block == null || block.getType() != Material.HOPPER) {
|
||||||
instance.getHopperManager().removeHopper(location);
|
instance.getHopperManager().removeHopper(location);
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
Reference in New Issue
Block a user