Fix Auto Filler crash (#335)

This commit is contained in:
lc-1337 authored and GitHub committed 2025-09-03 18:29:53 +02:00
1 parent 99822efb6d
commit f5bdb35783
1 file changed
+2 -1
@@ -282,9 +282,10 @@ public class TileFluidAutoFiller extends AENetworkInvTile
if (!initialized) { // run postEvent on AE network is ready
initialized = true;
postEvent();
if (this.returnStack == null) return TickRateModulation.SLEEP;
}
if (this.returnStack == null) return TickRateModulation.SLEEP;
if (this.getStorageGrid() == null) {
return TickRateModulation.SLOWER;
}