Fixed being able to put non fluid containers in Fluid Interface input slot.

This commit is contained in:
raoulvdberge
2018-07-26 16:30:13 +02:00
parent f715da7c7c
commit f6eada3c5f
2 changed files with 2 additions and 1 deletions

View File

@@ -52,7 +52,7 @@ public class NetworkNodeFluidInterface extends NetworkNode {
private FluidHandlerFluidInterface tank = new FluidHandlerFluidInterface(tankIn, tankOut);
private ItemHandlerBase in = new ItemHandlerBase(1, new ListenerNetworkNode(this));
private ItemHandlerBase in = new ItemHandlerBase(1, new ListenerNetworkNode(this), stack -> StackUtils.getFluid(stack, true).getRight() != null);
private FluidInventory out = new FluidInventory(1, TANK_CAPACITY, new ListenerNetworkNode(this));
private ItemHandlerUpgrade upgrades = new ItemHandlerUpgrade(4, new ListenerNetworkNode(this), ItemUpgrade.TYPE_SPEED, ItemUpgrade.TYPE_STACK, ItemUpgrade.TYPE_CRAFTING);