fix autofiller wont work after boot (#323)

Co-authored-by: NeOzay <colpaert.benoit@gmail.com>
Co-authored-by: NeOzay <69015205+NeOzay@users.noreply.github.com>
This commit is contained in:
authored and GitHub committed 2025-08-01 22:03:34 +07:00
1 parent 64ecb14e96
commit 01b08897d2
1 file changed
+9 -1
@@ -272,11 +272,19 @@ public class TileFluidAutoFiller extends AENetworkInvTile
@Override
public TickingRequest getTickingRequest(IGridNode node) {
return new TickingRequest(1, 5, this.returnStack == null, true);
return new TickingRequest(1, 5, false, true);
}
boolean initialized = false;
@Override
public TickRateModulation tickingRequest(IGridNode node, int TicksSinceLastCall) {
if (!initialized) { // run postEvent on AE network is ready
initialized = true;
postEvent();
if (this.returnStack == null) return TickRateModulation.SLEEP;
}
if (this.getStorageGrid() == null) {
return TickRateModulation.SLOWER;
}