mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 01:37:37 +00:00
**BaseBlocks are immutable
This commit is contained in:
parent
8f74186e14
commit
9d2c631035
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user