mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-28 03:34:43 +02:00
Add message to /mcscoreboard keep when a board is not shown
This commit is contained in:
@ -371,14 +371,16 @@ public class ScoreboardManager {
|
||||
}
|
||||
}
|
||||
|
||||
public static boolean isBoardShown(String playerName) {
|
||||
return PLAYER_SCOREBOARDS.get(playerName).isBoardShown();
|
||||
}
|
||||
|
||||
public static void clearBoard(String playerName) {
|
||||
PLAYER_SCOREBOARDS.get(playerName).tryRevertBoard();
|
||||
}
|
||||
|
||||
public static void keepBoard(String playerName) {
|
||||
if (Config.getInstance().getAllowKeepBoard()) {
|
||||
PLAYER_SCOREBOARDS.get(playerName).cancelRevert();
|
||||
}
|
||||
PLAYER_SCOREBOARDS.get(playerName).cancelRevert();
|
||||
}
|
||||
|
||||
public static void setRevertTimer(String playerName, int seconds) {
|
||||
|
Reference in New Issue
Block a user