Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-12-25 18:40:05 +01:00
Revert "Fix //none removing arbitrary nbt"
This reverts commit dd0bec8913
.
Dieser Commit ist enthalten in:
Ursprung
dd0bec8913
Commit
d32777a53e
@ -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();
|
|
||||||
if (raw.remove("weBrushJson") != null && raw.isEmpty()) {
|
|
||||||
item.setNbtData(null);
|
item.setNbtData(null);
|
||||||
}
|
return tool;
|
||||||
return null;
|
|
||||||
}
|
}
|
||||||
nbt = new CompoundTag(map = new HashMap<>());
|
nbt = new CompoundTag(map = new HashMap<>());
|
||||||
} else {
|
} else {
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren