geforkt von Mirrors/FastAsyncWorldEdit
Ursprung
e72a5cf12d
Commit
e4c1ba3edf
@ -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 {
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren