Fix //none

This commit is contained in:
Jesse Boyd
2019-04-06 06:47:51 +11:00
parent ee797219b4
commit 39830046bc

View File

@ -77,6 +77,7 @@ public final class BrushCache {
Map<String, Tag> map;
if (nbt == null) {
if (tool == null) {
item.setNbtData(null);
return tool;
}
nbt = new CompoundTag(map = new HashMap<>());
@ -113,7 +114,6 @@ public final class BrushCache {
map.remove("display");
}
}
} else {
return tool;
}