This commit is contained in:
Brianna O'Keefe 2019-02-16 08:07:53 -05:00
parent 2a9fa3c696
commit d867870d8b

View File

@ -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;