Fix possible provider NPE

This commit is contained in:
crschnick 2024-07-18 18:47:30 +00:00
parent 9f27f0837d
commit 1c791160c7

View file

@ -452,6 +452,7 @@ public class DataStoreEntry extends StorageElement {
this.store = store; this.store = store;
this.storeNode = JacksonMapper.getDefault().valueToTree(store); this.storeNode = JacksonMapper.getDefault().valueToTree(store);
this.provider = DataStoreProviders.byStore(store);
if (updateTime) { if (updateTime) {
lastModified = Instant.now(); lastModified = Instant.now();
} }