mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 09:47:38 +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) {
|
for (String key : strip) {
|
||||||
value.remove(key);
|
value.remove(key);
|
||||||
}
|
}
|
||||||
localBlock.toBaseBlock(new CompoundTag(value));
|
return (B) localBlock.toBaseBlock(new CompoundTag(value));
|
||||||
return (B) localBlock;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public <T extends NbtValued> T stripEntityNBT(T entity) {
|
public <T extends NbtValued> T stripEntityNBT(T entity) {
|
||||||
|
Loading…
Reference in New Issue
Block a user