Skip to content

Commit

Permalink
Re-add scoreboards
Browse files Browse the repository at this point in the history
  • Loading branch information
Warriorrrr committed Nov 19, 2024
1 parent 4a113a1 commit 2721ebf
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public HUDManager (Towny plugin) {

//**TOGGLES**//
public static void togglePermHUD (Player p) {
if (Towny.getPlugin().isFolia()) {
if (Towny.getPlugin().isFolia() && false) {
TownyMessaging.sendErrorMsg(p, Translatable.of("msg_folia_scoreboard"));
return;
}
Expand All @@ -44,7 +44,7 @@ public static void togglePermHUD (Player p) {
}

public static void toggleMapHud(Player player) {
if (Towny.getPlugin().isFolia()) {
if (Towny.getPlugin().isFolia() && false) {
TownyMessaging.sendErrorMsg(player, Translatable.of("msg_folia_scoreboard"));
return;
}
Expand All @@ -65,7 +65,7 @@ public static void toggleAllOff (Player p) {
}

public static void toggleOff(final Player player) {
if (Towny.getPlugin().isFolia())
if (Towny.getPlugin().isFolia() && false)
return;

Optional.ofNullable(Bukkit.getScoreboardManager()).ifPresent(manager -> player.setScoreboard(manager.getMainScoreboard()));
Expand Down

0 comments on commit 2721ebf

Please sign in to comment.