mirror of
https://github.com/songoda/EpicHoppers.git
synced 2025-01-10 09:57:45 +01:00
Fix for invalid casting for the filter.
This commit is contained in:
parent
383a683206
commit
390c504afa
@ -179,6 +179,11 @@ public class HopHandler {
|
||||
}
|
||||
Block b2 = dest.getBlock();
|
||||
|
||||
if (!(b2.getState() instanceof InventoryHolder)) {
|
||||
hopper.getFilter().setEndPoint(null);
|
||||
return;
|
||||
}
|
||||
|
||||
addItem(hopperBlock, hopper, b2, item, isS, amt, place);
|
||||
block.getState().update();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user