*BaseBlocks are immutable

This commit is contained in:
dordsor21 2021-01-06 18:15:59 +00:00
parent 7afddcc411
commit 8f74186e14
No known key found for this signature in database
GPG Key ID: 1E53E88969FFCF0B

View File

@ -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;
}