Fix replenisher void (#394)

This commit is contained in:
lc-1337 authored and GitHub committed 2026-01-16 18:34:26 +01:00
1 parent cf189f00a3
commit 1ea9b2e410
1 file changed
+4 -3
@@ -171,6 +171,8 @@ public class TileSuperStockReplenisher extends AENetworkInvTile
if (tempStack != null) {
tempStack.stackSize = tempStack.stackSize + (int) notInserted.getStackSize();
storedItemCount += notInserted.getStackSize();
saveChanges();
} else invItems.setInventorySlotContents(index, notInserted.getItemStack());
}
} catch (final GridAccessException ignored) {}
@@ -188,6 +190,8 @@ public class TileSuperStockReplenisher extends AENetworkInvTile
if (tempStack != null) {
tempStack.stackSize = tempStack.stackSize + (int) extracted.getStackSize();
storedItemCount += extracted.getStackSize();
saveChanges();
} else invItems.setInventorySlotContents(index, extracted.getItemStack());
}
} catch (final GridAccessException ignored) {}
@@ -295,8 +299,6 @@ public class TileSuperStockReplenisher extends AENetworkInvTile
} catch (GridAccessException e) {
AELog.error(e, "Couldn't wake up level emitter for delayed updates");
}
markForUpdate();
}
public void fullRefund() {
@@ -365,7 +367,6 @@ public class TileSuperStockReplenisher extends AENetworkInvTile
@Override
public void onFluidInventoryChanged(IAEFluidTank inv, int slot) {
saveChanges();
markForUpdate();
}
@Override