mirror of
https://github.com/GTNewHorizons/AE2FluidCraft-Rework.git
synced 2026-11-11 15:57:55 +00:00
1 file changed
+1
-1
@@ -16,7 +16,7 @@ public class FluidConvertingInventoryCrafting extends InventoryCrafting {
|
||||
|
||||
@Override
|
||||
public void setInventorySlotContents(int index, ItemStack stack) {
|
||||
if (stack.getItem() instanceof ItemFluidDrop) {
|
||||
if (stack != null && stack.getItem() instanceof ItemFluidDrop) {
|
||||
FluidStack fluid = ItemFluidDrop.getFluidStack(stack);
|
||||
if (fluid != null) {
|
||||
super.setInventorySlotContents(index, ItemFluidPacket.newStack(new FluidStack(fluid, stack.stackSize)));
|
||||
|
||||
Reference in new issue
Block a user