From 4871e41bf0acbcbb15373d442e96532cdd5d1fa7 Mon Sep 17 00:00:00 2001 From: Raycoms Date: Sat, 24 Aug 2024 20:18:07 +0200 Subject: [PATCH] hotfix restaurant not loading --- .../core/colony/buildings/modules/FurnaceUserModule.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/minecolonies/core/colony/buildings/modules/FurnaceUserModule.java b/src/main/java/com/minecolonies/core/colony/buildings/modules/FurnaceUserModule.java index 5b3d2e5469f..7aa8c37bb23 100644 --- a/src/main/java/com/minecolonies/core/colony/buildings/modules/FurnaceUserModule.java +++ b/src/main/java/com/minecolonies/core/colony/buildings/modules/FurnaceUserModule.java @@ -67,7 +67,7 @@ public void deserializeNBT(@NotNull final HolderLookup.Provider provider, final final ListTag furnaceTagList = compound.getList(TAG_FURNACES, Tag.TAG_INT_ARRAY); for (int i = 0; i < furnaceTagList.size(); ++i) { - furnaces.add(NBTUtils.readBlockPos(furnaceTagList.getCompound(i))); + furnaces.add(NBTUtils.readBlockPos(furnaceTagList.get(i))); } }