From 2a6c9f26f921d1da9ed5c3f81c808fc78629ac86 Mon Sep 17 00:00:00 2001 From: bruno Date: Fri, 5 Jul 2024 08:10:04 +0200 Subject: [PATCH] Fix a glitch --- gradle.properties | 2 +- .../blockentities/HardDriveContainerBlockEntity.java | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/gradle.properties b/gradle.properties index a81be4c..7ce2379 100644 --- a/gradle.properties +++ b/gradle.properties @@ -11,7 +11,7 @@ loader_version=0.15.11 fabric_version=0.100.4+1.21 # Mod Properties -mod_version=3.0.3 +mod_version=3.0.4 maven_group=systems.brn archives_base_name=Server_storage diff --git a/src/main/java/systems/brn/server_storage/blockentities/HardDriveContainerBlockEntity.java b/src/main/java/systems/brn/server_storage/blockentities/HardDriveContainerBlockEntity.java index 6760ea8..6370e04 100644 --- a/src/main/java/systems/brn/server_storage/blockentities/HardDriveContainerBlockEntity.java +++ b/src/main/java/systems/brn/server_storage/blockentities/HardDriveContainerBlockEntity.java @@ -98,6 +98,7 @@ public class HardDriveContainerBlockEntity extends LootableContainerBlockEntity totalSlots += drive.getMaxItems(); availableSlots += drive.getAvailableItems(); usedSlots += drive.getUsedItems(); + drive.loadComponents(); drives.add(drive); } }