Revert "Fix //none removing arbitrary nbt"

This reverts commit dd0bec8913.
This commit is contained in:
NotMyFault 2019-05-24 11:22:11 +02:00
parent dd0bec8913
commit d32777a53e

View File

@ -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;
item.setNbtData(null);
return tool;
}
nbt = new CompoundTag(map = new HashMap<>());
} else {