mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 09:47:38 +00:00
Revert "Fix //none removing arbitrary nbt"
This reverts commit dd0bec8913
.
This commit is contained in:
parent
dd0bec8913
commit
d32777a53e
@ -77,11 +77,8 @@ public final class BrushCache {
|
|||||||
Map<String, Tag> map;
|
Map<String, Tag> map;
|
||||||
if (nbt == null) {
|
if (nbt == null) {
|
||||||
if (tool == null) {
|
if (tool == null) {
|
||||||
Map<String, Object> raw = nbt.getRaw();
|
item.setNbtData(null);
|
||||||
if (raw.remove("weBrushJson") != null && raw.isEmpty()) {
|
return tool;
|
||||||
item.setNbtData(null);
|
|
||||||
}
|
|
||||||
return null;
|
|
||||||
}
|
}
|
||||||
nbt = new CompoundTag(map = new HashMap<>());
|
nbt = new CompoundTag(map = new HashMap<>());
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user