From 9d2c6310358134e9ab60a2ee2f267857a684c429 Mon Sep 17 00:00:00 2001 From: dordsor21 Date: Wed, 6 Jan 2021 21:13:32 +0000 Subject: [PATCH] **BaseBlocks are immutable --- .../java/com/boydti/fawe/object/extent/StripNBTExtent.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/worldedit-core/src/main/java/com/boydti/fawe/object/extent/StripNBTExtent.java b/worldedit-core/src/main/java/com/boydti/fawe/object/extent/StripNBTExtent.java index 8407c9db9..ecba6f0b6 100644 --- a/worldedit-core/src/main/java/com/boydti/fawe/object/extent/StripNBTExtent.java +++ b/worldedit-core/src/main/java/com/boydti/fawe/object/extent/StripNBTExtent.java @@ -60,8 +60,7 @@ public class StripNBTExtent extends AbstractDelegateExtent { for (String key : strip) { value.remove(key); } - localBlock.toBaseBlock(new CompoundTag(value)); - return (B) localBlock; + return (B) localBlock.toBaseBlock(new CompoundTag(value)); } public T stripEntityNBT(T entity) {