Skip to content

Commit

Permalink
set missing key when loading ServerWorldProperties from level.dat
Browse files Browse the repository at this point in the history
  • Loading branch information
Faithcaio committed Oct 13, 2023
1 parent 2818806 commit ff354f7
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -425,6 +425,7 @@ public CompletableFuture<Optional<ServerWorldProperties>> loadProperties(final R
((PrimaryLevelDataBridge) levelData).bridge$populateFromLevelStem(scratch);
}

((ResourceKeyBridge) levelData).bridge$setKey(key);
return CompletableFuture.completedFuture(Optional.of((ServerWorldProperties) levelData));
});
}
Expand Down

0 comments on commit ff354f7

Please sign in to comment.