mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 17:57:38 +00:00
Fix //none
This commit is contained in:
parent
ee797219b4
commit
39830046bc
@ -77,6 +77,7 @@ public final class BrushCache {
|
|||||||
Map<String, Tag> map;
|
Map<String, Tag> map;
|
||||||
if (nbt == null) {
|
if (nbt == null) {
|
||||||
if (tool == null) {
|
if (tool == null) {
|
||||||
|
item.setNbtData(null);
|
||||||
return tool;
|
return tool;
|
||||||
}
|
}
|
||||||
nbt = new CompoundTag(map = new HashMap<>());
|
nbt = new CompoundTag(map = new HashMap<>());
|
||||||
@ -113,7 +114,6 @@ public final class BrushCache {
|
|||||||
map.remove("display");
|
map.remove("display");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
return tool;
|
return tool;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user