From 3a3d0bdf021558f9ab5ddd8e8549ade491fd8a57 Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Fri, 4 Oct 2024 20:58:00 +0200 Subject: Add tapcubed stuff [no changelog] --- src/main/kotlin/features/inventory/storageoverlay/StorageOverlay.kt | 1 + 1 file changed, 1 insertion(+) (limited to 'src/main/kotlin/features/inventory/storageoverlay') 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 ) { // 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 -> -- cgit