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