Fix //none

This commit is contained in:
Jesse Boyd 2019-04-06 06:47:51 +11:00
parent ee797219b4
commit 39830046bc
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F

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;
}