Skip to content

Commit

Permalink
Call loaded game event on Forge (#3738)
Browse files Browse the repository at this point in the history
Similar to SpongeVanilla, we call LoadedGameEvent after StartedServer
  • Loading branch information
vectrixdevelops authored Aug 14, 2022
1 parent 7181f55 commit cdf7123
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions forge/src/main/java/org/spongepowered/forge/SpongeForge.java
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,8 @@ public void onServerAboutToStart(final FMLServerAboutToStartEvent event) {
public void onServerStarted(final FMLServerStartedEvent event) {
final Lifecycle lifecycle = Launch.instance().lifecycle();
lifecycle.callStartedEngineEvent((Server) event.getServer());

lifecycle.callLoadedGameEvent();
}

@SubscribeEvent
Expand Down

0 comments on commit cdf7123

Please sign in to comment.