Skip to content

Commit

Permalink
fix CodecDataManager clearing data in singleplayer
Browse files Browse the repository at this point in the history
  • Loading branch information
Minecraftschurli committed Mar 7, 2024
1 parent aee82b2 commit a0e0f15
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,7 @@ protected final void apply(Map<ResourceLocation, JsonElement> dataIn, ResourceMa
}

protected void receiveSyncedData(Map<ResourceLocation, T> data) {
if (this.data == data || data == null) return;
if (this.data == null) {
this.data = data;
} else {
Expand Down

0 comments on commit a0e0f15

Please sign in to comment.