This commit is contained in:
Anuken
2025-11-01 10:04:11 -04:00
parent 1de633b009
commit 986cbe1d25
2 changed files with 3 additions and 6 deletions

View File

@@ -313,11 +313,8 @@ public class ContentPatcher{
return;
}
var copy = new ObjectFloatMap(map);
reset(() -> {
map.clear();
map.putAll(copy);
});
var copy = map.copy();
reset(() -> map.set(copy));
if(value instanceof JsonValue jval && jval.isString() && (jval.asString().equals("-"))){
//removal syntax: