mirror of
https://github.com/songoda/EpicHoppers.git
synced 2025-01-10 01:48:09 +01:00
Fix
This commit is contained in:
parent
2a9fa3c696
commit
d867870d8b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user