**BaseBlocks are immutable

This commit is contained in:
dordsor21 2021-01-06 21:13:32 +00:00
parent 8f74186e14
commit 9d2c631035
No known key found for this signature in database
GPG Key ID: 1E53E88969FFCF0B

View File

@ -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 extends NbtValued> T stripEntityNBT(T entity) {