diff options
Diffstat (limited to 'src/main/kotlin/features/inventory/storageoverlay')
-rw-r--r-- | src/main/kotlin/features/inventory/storageoverlay/StorageOverlay.kt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/kotlin/features/inventory/storageoverlay/StorageOverlay.kt b/src/main/kotlin/features/inventory/storageoverlay/StorageOverlay.kt index b615c73..9ad5636 100644 --- a/src/main/kotlin/features/inventory/storageoverlay/StorageOverlay.kt +++ b/src/main/kotlin/features/inventory/storageoverlay/StorageOverlay.kt @@ -139,6 +139,7 @@ object StorageOverlay : FirmamentFeature { data: SortedMap<StoragePageSlot, StorageData.StorageInventory> ) { // TODO: FIXME: FIXME NOW: Definitely don't copy all of this every tick into persistence + // This should be easily doable now that inventory update event exists. val newStacks = VirtualInventory(handler.handler.stacks.take(handler.handler.rows * 9).drop(9).map { it.copy() }) data.compute(handler.storagePageSlot) { slot, existingInventory -> |