diff --git a/src/main/java/org/teacon/powertool/PowerToolEvents.java b/src/main/java/org/teacon/powertool/PowerToolEvents.java index d6ee350..4d1e377 100644 --- a/src/main/java/org/teacon/powertool/PowerToolEvents.java +++ b/src/main/java/org/teacon/powertool/PowerToolEvents.java @@ -78,7 +78,7 @@ private static void removeDisplayMode( BlockPos pos, @Nullable ServerPlayer player ) { - List displayEnabledPosList = chunk.getData(PowerToolAttachments.DISPLAY_MODE); + List displayEnabledPosList = new ArrayList<>(chunk.getData(PowerToolAttachments.DISPLAY_MODE)); displayEnabledPosList.remove(pos); chunk.setUnsaved(true); chunk.setData(PowerToolAttachments.DISPLAY_MODE, displayEnabledPosList);