Skip to content

Commit

Permalink
Remove spark service registration in spark-paper
Browse files Browse the repository at this point in the history
  • Loading branch information
lucko committed Jul 20, 2024
1 parent fdbea08 commit 487cd0c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -200,9 +200,9 @@ public PlatformInfo getPlatformInfo() {
return PaperPlatformInfo.INSTANCE;
}

@SuppressWarnings("DataFlowIssue") // null plugin
// @SuppressWarnings("DataFlowIssue") // null plugin
@Override
public void registerApi(Spark api) {
this.server.getServicesManager().register(Spark.class, api, null, ServicePriority.Normal);
// this.server.getServicesManager().register(Spark.class, api, null, ServicePriority.Normal);
}
}

0 comments on commit 487cd0c

Please sign in to comment.