Skip to content
This repository has been archived by the owner on Jan 20, 2024. It is now read-only.

Commit

Permalink
Tab: fix unchecked player-ping disabling
Browse files Browse the repository at this point in the history
  • Loading branch information
TheFaser committed Nov 5, 2023
1 parent 8f05eec commit fdea643
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,10 @@ public void init() {

FActionManager.add(new TabListener(this));
FActionManager.add(new TabTicker(this));
FActionManager.add(new TabPlayerPingTicker(this));

if (config.getBoolean("default.server.tab.player-ping.enable")) {
FActionManager.add(new TabPlayerPingTicker(this));
}
}

public void setPlayerListName(@NotNull Player player, @NotNull String string) {
Expand Down

0 comments on commit fdea643

Please sign in to comment.