From d867870d8bf32b20ef24a422fb00fabc9bff6a23 Mon Sep 17 00:00:00 2001 From: Brianna O'Keefe Date: Sat, 16 Feb 2019 08:07:53 -0500 Subject: [PATCH] Fix --- .../java/com/songoda/epichoppers/listeners/HopperListeners.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;