diff --git a/fabric/src/main/java/net/william278/husksync/FabricHuskSync.java b/fabric/src/main/java/net/william278/husksync/FabricHuskSync.java index 0f4b2688..c59a0739 100644 --- a/fabric/src/main/java/net/william278/husksync/FabricHuskSync.java +++ b/fabric/src/main/java/net/william278/husksync/FabricHuskSync.java @@ -274,6 +274,15 @@ public Uniform getUniform() { return FabricUniform.getInstance(mod.getMetadata().getId()); } + @NotNull + @Override + public Map getPlayerCustomDataStore(@NotNull OnlineUser user) { + return playerCustomDataStore.compute( + user.getUuid(), + (uuid, data) -> data == null ? Maps.newHashMap() : data + ); + } + @Override @Nullable public InputStream getResource(@NotNull String name) {