diff --git a/EpicHoppers-Plugin/src/main/java/com/songoda/epichoppers/listeners/HopperListeners.java b/EpicHoppers-Plugin/src/main/java/com/songoda/epichoppers/listeners/HopperListeners.java index 12b3614..05e12fb 100644 --- a/EpicHoppers-Plugin/src/main/java/com/songoda/epichoppers/listeners/HopperListeners.java +++ b/EpicHoppers-Plugin/src/main/java/com/songoda/epichoppers/listeners/HopperListeners.java @@ -27,7 +27,7 @@ public class HopperListeners implements Listener { try { Inventory source = event.getSource(); - if (source.getLocation().getBlock().getType() != Material.HOPPER) return; + //if (!(source.getHolder() instanceof org.bukkit.block.Hopper)) return; if (instance.isLiquidtanks() && net.arcaniax.liquidtanks.object.LiquidTankAPI.isLiquidTank(event.getDestination().getLocation())) return;