SteamWar/BungeeCore
Archiviert
13
2

Fixing msg color

Dieser Commit ist enthalten in:
Travis CI 2019-06-20 20:41:10 +02:00
Ursprung 736cdcdf36
Commit 0f1240faf1
2 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen

Datei anzeigen

@ -86,7 +86,7 @@ public class PlayerListener implements Listener {
player.setDisplayName("§3Developer " + player.getName() + "§r"); player.setDisplayName("§3Developer " + player.getName() + "§r");
break; break;
case "Moderator": case "Moderator":
player.addGroups("team"); player.addGroups("admin", "team");
player.setPermission("bungeecore.group.moderator", true); player.setPermission("bungeecore.group.moderator", true);
player.setDisplayName("§bModerator " + player.getName() + "§r"); player.setDisplayName("§bModerator " + player.getName() + "§r");
break; break;

Datei anzeigen

@ -39,7 +39,7 @@ public class MsgCommand extends Command {
} }
StringBuilder msgBuilder = new StringBuilder(); StringBuilder msgBuilder = new StringBuilder();
msgBuilder.append("§5").append(player.getName()).append("§8»§5").append(target.getName()).append(" §r§7"); msgBuilder.append("§8").append(player.getName()).append("§8»§8").append(target.getName()).append(" §r§7");
for (int i = 1; i < args.length; i++){ for (int i = 1; i < args.length; i++){
msgBuilder.append(args[i]).append(" "); msgBuilder.append(args[i]).append(" ");
} }