mirror of
https://github.com/GTNewHorizons/AE2FluidCraft-Rework.git
synced 2026-11-11 15:57:55 +00:00
Fix replenisher void (#394)
This commit is contained in:
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
|
||||
|
||||
Reference in new issue
Block a user