From 8f74186e14c0516ce4b4bbcab23540cfaaddc322 Mon Sep 17 00:00:00 2001 From: dordsor21 Date: Wed, 6 Jan 2021 18:15:59 +0000 Subject: [PATCH] *BaseBlocks are immutable --- .../main/java/com/boydti/fawe/object/extent/StripNBTExtent.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 bdb7c5ab3..8407c9db9 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,7 +60,7 @@ public class StripNBTExtent extends AbstractDelegateExtent { for (String key : strip) { value.remove(key); } - localBlock.setNbtData(new CompoundTag(value)); + localBlock.toBaseBlock(new CompoundTag(value)); return (B) localBlock; }