diff options
author | Linnea Gräf <nea@nea.moe> | 2024-10-04 20:58:00 +0200 |
---|---|---|
committer | Linnea Gräf <nea@nea.moe> | 2024-10-04 20:58:00 +0200 |
commit | 3a3d0bdf021558f9ab5ddd8e8549ade491fd8a57 (patch) | |
tree | f054f4660e9747be10a7e7b24b0a001670476ca9 /src/main/kotlin/features/inventory/storageoverlay/StorageOverlay.kt | |
parent | 67dd2f68d68ae48d7b9881a34502d6c25e335745 (diff) | |
download | firmament-tapcube.tar.gz firmament-tapcube.tar.bz2 firmament-tapcube.zip |
Add tapcubed stufftapcube
[no changelog]
Diffstat (limited to 'src/main/kotlin/features/inventory/storageoverlay/StorageOverlay.kt')
-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 -> |