rebuild skipslotlist if the the inventory grows or shrinks

This commit is contained in:
Salomão
2021-02-22 14:32:34 -03:00
parent e2e6f6e83f
commit 7796c6d4b6
@@ -329,6 +329,7 @@ class ItemHandlerAdapter implements IMEInventory<IAEItemStack>, IBaseMonitor<IAE
// Reduce the cache size
this.cachedAeStacks = Arrays.copyOf( this.cachedAeStacks, slots );
this.skipSlots = new ArrayList<>(this.itemHandler.getSlots());
}
return changes;