yet another try at energy issues

fix requesters not being added to the energy grid


partially revert the energy 'fixes'


potential desync on item count


energy and items change
This commit is contained in:
PrototypeTrousers
2021-09-17 00:09:49 -03:00
parent 19f928a9a5
commit 517bd77df7
4 changed files with 154 additions and 66 deletions
-2
View File
@@ -255,8 +255,6 @@ public class GridStorageCache implements IStorageGrid
}
tracker.applyChanges();
this.storageMonitors.forEach( ( channel, monitor ) -> monitor.forceUpdate() );
}
private <T extends IAEStack<T>, C extends IStorageChannel<T>> void postChangesToNetwork( final C chan, final int upOrDown, final IItemList<T> availableItems, final IActionSource src )