Fixed being able to put non fluid containers in Fluid Interface input slot.
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
- You can now specify the amount to export in the Fluid Interface (raoulvdberge)
|
||||
- Made the Crafting Preview window bigger (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)
|
||||
- Overhauled and updated German translation (Cydhra)
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user