Skip to content

Commit

Permalink
use api method
Browse files Browse the repository at this point in the history
  • Loading branch information
NonSwag committed Apr 27, 2024
1 parent 9abc681 commit db8a27e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public class CraftWorldImage implements WorldImage {

@Override
public @Nullable World build() {
var creator = new WorldCreator(name, key)
var creator = new WorldCreator(name(), key())
.generator(resolveChunkGenerator())
.biomeProvider(resolveBiomeProvider())
.generateStructures(generateStructures())
Expand Down

0 comments on commit db8a27e

Please sign in to comment.