Fix a glitch

This commit is contained in:
Bruno Rybársky 2024-07-05 08:10:04 +02:00
parent ecb926a180
commit 2a6c9f26f9
2 changed files with 2 additions and 1 deletions

@ -11,7 +11,7 @@ loader_version=0.15.11
fabric_version=0.100.4+1.21 fabric_version=0.100.4+1.21
# Mod Properties # Mod Properties
mod_version=3.0.3 mod_version=3.0.4
maven_group=systems.brn maven_group=systems.brn
archives_base_name=Server_storage archives_base_name=Server_storage

@ -98,6 +98,7 @@ public class HardDriveContainerBlockEntity extends LootableContainerBlockEntity
totalSlots += drive.getMaxItems(); totalSlots += drive.getMaxItems();
availableSlots += drive.getAvailableItems(); availableSlots += drive.getAvailableItems();
usedSlots += drive.getUsedItems(); usedSlots += drive.getUsedItems();
drive.loadComponents();
drives.add(drive); drives.add(drive);
} }
} }