Skip to content

Commit

Permalink
Fix background profiler failing to start on Sponge API 8+ (#369)
Browse files Browse the repository at this point in the history
  • Loading branch information
avaruus1 authored Feb 28, 2024
1 parent 7fe6531 commit aafc582
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -104,7 +104,7 @@ public void onRegisterCommands(final RegisterCommandEvent<Command.Raw> event) {

@Listener
public void onEnable(StartedEngineEvent<Server> event) {
executeSync(() -> this.gameThreadDumper.setThread(Thread.currentThread()));
this.gameThreadDumper.setThread(Thread.currentThread());

this.platform = new SparkPlatform(this);
this.platform.enable();

0 comments on commit aafc582

Please sign in to comment.