From 179c19aa7d644f919ec2f53bcc382c8789616536 Mon Sep 17 00:00:00 2001 From: Raycoms Date: Tue, 20 Aug 2024 10:43:16 +0200 Subject: [PATCH] fix compile errors --- .../core/colony/buildings/workerbuildings/BuildingLibrary.java | 2 +- .../colony/buildings/workerbuildings/BuildingUniversity.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/minecolonies/core/colony/buildings/workerbuildings/BuildingLibrary.java b/src/main/java/com/minecolonies/core/colony/buildings/workerbuildings/BuildingLibrary.java index 02b78cc2ccc..ff1cdf69034 100755 --- a/src/main/java/com/minecolonies/core/colony/buildings/workerbuildings/BuildingLibrary.java +++ b/src/main/java/com/minecolonies/core/colony/buildings/workerbuildings/BuildingLibrary.java @@ -144,7 +144,7 @@ public CompoundTag serializeNBT(@NotNull final HolderLookup.Provider provider) @NotNull final ListTag bookcaseTagList = new ListTag(); for (@NotNull final BlockPos entry : bookCases) { - bookcaseTagList.add(NBTUtils.writeBlockPos(entry))); + bookcaseTagList.add(NBTUtils.writeBlockPos(entry)); } compound.put(TAG_BOOKCASES, bookcaseTagList); diff --git a/src/main/java/com/minecolonies/core/colony/buildings/workerbuildings/BuildingUniversity.java b/src/main/java/com/minecolonies/core/colony/buildings/workerbuildings/BuildingUniversity.java index 77a47fa4f8c..8c9b63b871c 100755 --- a/src/main/java/com/minecolonies/core/colony/buildings/workerbuildings/BuildingUniversity.java +++ b/src/main/java/com/minecolonies/core/colony/buildings/workerbuildings/BuildingUniversity.java @@ -93,7 +93,7 @@ public CompoundTag serializeNBT(@NotNull final HolderLookup.Provider provider) @NotNull final ListTag bookcaseTagList = new ListTag(); for (@NotNull final BlockPos entry : bookCases) { - bookcaseTagList.add(NBTUtils.writeBlockPos(entry))); + bookcaseTagList.add(NBTUtils.writeBlockPos(entry)); } compound.put(TAG_BOOKCASES, bookcaseTagList);