mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-20 12:09:39 +00:00
Fix #1564 Gamecrash while trying to craft golden electron tube
This commit is contained in:
1 parent
a72971e042
commit
0ad3baecda
1 file changed
+1
-1
@@ -200,7 +200,7 @@ public class TileFabricator extends TilePowered implements ISlotPickupWatcher, I
|
||||
NonNullList<ItemStack> crafting = InventoryUtil.getStacks(craftingInventory, InventoryGhostCrafting.SLOT_CRAFTING_1, InventoryGhostCrafting.SLOT_CRAFTING_COUNT);
|
||||
if (removeFromInventory(crafting, myRecipe, false)) {
|
||||
FluidStack drained = moltenTank.drainInternal(liquid, false);
|
||||
if (drained.isFluidStackIdentical(liquid)) {
|
||||
if (drained != null && drained.isFluidStackIdentical(liquid)) {
|
||||
removeFromInventory(crafting, myRecipe, true);
|
||||
moltenTank.drain(liquid.amount, true);
|
||||
|
||||
|
||||
Reference in new issue
Block a user