Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-12-24 18:10:08 +01:00
Fix //none removing arbitrary nbt
Dieser Commit ist enthalten in:
Ursprung
317742e3f0
Commit
dd0bec8913
@ -77,8 +77,11 @@ public final class BrushCache {
|
||||
Map<String, Tag> map;
|
||||
if (nbt == null) {
|
||||
if (tool == null) {
|
||||
item.setNbtData(null);
|
||||
return tool;
|
||||
Map<String, Object> raw = nbt.getRaw();
|
||||
if (raw.remove("weBrushJson") != null && raw.isEmpty()) {
|
||||
item.setNbtData(null);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
nbt = new CompoundTag(map = new HashMap<>());
|
||||
} else {
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren