From e432b6f46d8fa146cd716b2acb78aa259abce5fc Mon Sep 17 00:00:00 2001 From: Raycoms Date: Mon, 19 Aug 2024 12:41:29 +0200 Subject: [PATCH] fix 10132 --- .../core/colony/buildings/views/AbstractBuildingView.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/minecolonies/core/colony/buildings/views/AbstractBuildingView.java b/src/main/java/com/minecolonies/core/colony/buildings/views/AbstractBuildingView.java index d5fe869b7c0..52e719e378a 100755 --- a/src/main/java/com/minecolonies/core/colony/buildings/views/AbstractBuildingView.java +++ b/src/main/java/com/minecolonies/core/colony/buildings/views/AbstractBuildingView.java @@ -23,6 +23,7 @@ import com.minecolonies.core.colony.buildings.moduleviews.WorkerBuildingModuleView; import com.minecolonies.core.network.messages.server.colony.OpenInventoryMessage; import com.minecolonies.core.network.messages.server.colony.building.HutRenameMessage; +import it.unimi.dsi.fastutil.ints.Int2ObjectLinkedOpenHashMap; import it.unimi.dsi.fastutil.ints.Int2ObjectOpenHashMap; import net.minecraft.core.BlockPos; import net.minecraft.nbt.CompoundTag; @@ -148,7 +149,7 @@ public abstract class AbstractBuildingView implements IBuildingView /** * Set of building modules this building has. */ - protected Int2ObjectOpenHashMap moduleViews = new Int2ObjectOpenHashMap<>(); + protected Int2ObjectLinkedOpenHashMap moduleViews = new Int2ObjectLinkedOpenHashMap<>(); /** * Building type