Don't override children state [stage]

This commit is contained in:
crschnick 2024-02-22 20:12:13 +00:00
parent 3b1510f5de
commit 0f01d29772
2 changed files with 3 additions and 2 deletions

View file

@ -409,7 +409,8 @@ public abstract class DataStorage {
deleteWithChildren(toRemove.toArray(DataStoreEntry[]::new));
addStoreEntriesIfNotPresent(toAdd.stream().map(DataStoreEntryRef::get).toArray(DataStoreEntry[]::new));
toUpdate.forEach(pair -> {
pair.getKey().setStoreInternal(pair.getValue().getStore(), false);
// TODO do we need this, it erases any custom information?
// pair.getKey().setStoreInternal(pair.getValue().getStore(), false);
// Update state by merging
if (pair.getKey().getStorePersistentState() != null

View file

@ -1 +1 @@
8.0-7
8.0-8