Skip to content

Commit

Permalink
Fix World with special generators couldn't be load when server starti…
Browse files Browse the repository at this point in the history
…ng (#46)
  • Loading branch information
Dev7ex committed Aug 24, 2024
1 parent d45800f commit c860b5b
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -105,11 +105,12 @@ public void registerListeners() {
public void registerModules() {
super.registerModule(this.translationProvider = new DefaultTranslationProvider(this));

super.registerModule(this.worldGeneratorProvider = new DefaultWorldGeneratorProvider());

this.worldManager = new DefaultWorldManager(this.worldConfiguration, this.configuration, this.translationProvider);

super.registerModule(this.worldProvider = new DefaultWorldProvider(this.worldManager, this.worldConfiguration));
super.registerModule(this.userProvider = new UserProvider());
super.registerModule(this.worldGeneratorProvider = new DefaultWorldGeneratorProvider());
super.registerModule(this.hookProvider = new DefaultHookProvider());
}

Expand Down

0 comments on commit c860b5b

Please sign in to comment.