Skip to content

Commit

Permalink
feat!(placeholder): add a check to determine if the "placeholder api"…
Browse files Browse the repository at this point in the history
… plugin is running
  • Loading branch information
jonakls committed Nov 30, 2022
1 parent 875cd06 commit caa3946
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions plugin/src/main/java/com/xism4/sternalboard/SternalBoard.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ public void onDisable() {
scoreboardManager = null;
}

public boolean placeholderCheck() {
return Bukkit.getPluginManager().getPlugin("PlaceholderAPI") != null;
}

public ScoreboardManager getScoreboardManager() {
return this.scoreboardManager;
}
Expand Down

0 comments on commit caa3946

Please sign in to comment.