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

@@ -11,6 +11,7 @@
- You can now specify the amount to export in the Fluid Interface (raoulvdberge) - You can now specify the amount to export in the Fluid Interface (raoulvdberge)
- Made the Crafting Preview window bigger (raoulvdberge) - Made the Crafting Preview window bigger (raoulvdberge)
- Fixed crash log when opening Pattern Grid GUI (raoulvdberge) - Fixed crash log when opening Pattern Grid GUI (raoulvdberge)
- Fixed being able to put non fluid containers in Fluid Interface input slot (raoulvdberge)
- Updated Russian translation (kellixon) - Updated Russian translation (kellixon)
- Overhauled and updated German translation (Cydhra) - Overhauled and updated German translation (Cydhra)

View File

@@ -52,7 +52,7 @@ public class NetworkNodeFluidInterface extends NetworkNode {
private FluidHandlerFluidInterface tank = new FluidHandlerFluidInterface(tankIn, tankOut); 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 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); private ItemHandlerUpgrade upgrades = new ItemHandlerUpgrade(4, new ListenerNetworkNode(this), ItemUpgrade.TYPE_SPEED, ItemUpgrade.TYPE_STACK, ItemUpgrade.TYPE_CRAFTING);