diff --git a/src/main/java/dev/pgm/community/requests/feature/RequestFeatureBase.java b/src/main/java/dev/pgm/community/requests/feature/RequestFeatureBase.java index 7e2d021..9cae2d2 100644 --- a/src/main/java/dev/pgm/community/requests/feature/RequestFeatureBase.java +++ b/src/main/java/dev/pgm/community/requests/feature/RequestFeatureBase.java @@ -876,6 +876,7 @@ private void sendSuperVoterActivationFeedback(Player player) { if (getRequestConfig().isSuperVoteBroadcast()) { Component alert = text() .append(MessageUtils.VOTE) + .appendSpace() .append(player(player, NameStyle.FANCY)) .append(text(" has activated a ", NamedTextColor.YELLOW)) .append(text("super vote", NamedTextColor.LIGHT_PURPLE, TextDecoration.BOLD)) @@ -885,6 +886,7 @@ private void sendSuperVoterActivationFeedback(Player player) { } else { viewer.sendMessage(text() .append(MessageUtils.VOTE) + .appendSpace() .append(text("You activated a ", NamedTextColor.YELLOW)) .append(text("super vote", NamedTextColor.LIGHT_PURPLE, TextDecoration.BOLD)) .append(text("!", NamedTextColor.YELLOW))); diff --git a/src/main/java/dev/pgm/community/requests/supervotes/SuperVoteManager.java b/src/main/java/dev/pgm/community/requests/supervotes/SuperVoteManager.java index 59a968f..62a4012 100644 --- a/src/main/java/dev/pgm/community/requests/supervotes/SuperVoteManager.java +++ b/src/main/java/dev/pgm/community/requests/supervotes/SuperVoteManager.java @@ -9,7 +9,6 @@ import java.util.UUID; import java.util.logging.Logger; import org.bukkit.Bukkit; -import org.bukkit.ChatColor; import org.bukkit.entity.Player; import org.bukkit.permissions.PermissionAttachment; import tc.oc.pgm.api.PGM; @@ -70,23 +69,12 @@ private void applySuperVotePermissions(Player player) { new StoredPermission(player, getExtraVotePermission(multipliedVoteLevel)); permission.enable(); playerPermissions.put(player.getUniqueId(), permission); - - // DEBUG: - player.sendMessage(ChatColor.GREEN - + "You now have " - + ChatColor.AQUA - + " pgm.vote.extra." - + multipliedVoteLevel); } private void removeSuperVotePermissions(Player player) { StoredPermission permission = playerPermissions.remove(player.getUniqueId()); if (permission != null) { permission.disable(player); - - // DEBUG: - player.sendMessage( - ChatColor.RED + "You no longer have " + ChatColor.AQUA + permission.getPermission()); } }