Fix fails on getCraftingItem

no root cause was found
This commit is contained in:
Andrei Laiff committed 2023-10-21 22:41:45 +03:00
1 parent 0ab87779b8
commit 0a3e7deb79
1 file changed
+2
@@ -607,7 +607,9 @@ public class TileLevelMaintainer extends AENetworkTile
public IAEItemStack getCraftItem(int idx) {
IAEItemStack is = requestStacks.getStack(idx);
if (is == null) return null;
if (is.getItemStack() == null) return null;
ItemStack qis = loadItemStackFromTag(is.getItemStack());
if (qis == null) return null;
IAEItemStack qais = AEItemStack.create(qis);
qais.setStackSize(getBatchSize(idx));