Skip to content

Commit

Permalink
Message change
Browse files Browse the repository at this point in the history
  • Loading branch information
OutDev0 committed Sep 24, 2024
1 parent 40dd483 commit c51d034
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,10 @@ public void toggleAlerts(Player player) {
UUID playerId = player.getUniqueId();
if (enabledAlerts.containsKey(playerId)) {
enabledAlerts.remove(playerId);
sendAlertStatusMessage(player, "Alerts disabled!", NamedTextColor.RED);
sendAlertStatusMessage(player, "Alerts disabled", NamedTextColor.RED);
} else {
enabledAlerts.put(playerId, player);
sendAlertStatusMessage(player, "Alerts enabled!", NamedTextColor.GREEN);
sendAlertStatusMessage(player, "Alerts enabled", NamedTextColor.GREEN);
}
}

Expand Down Expand Up @@ -90,4 +90,4 @@ private void sendAlertStatusMessage(Player player, String message, NamedTextColo
.append(Component.text(message, color))
.build());
}
}
}

0 comments on commit c51d034

Please sign in to comment.