mirror of
https://github.com/TotalFreedomMC/TFGuilds.git
synced 2024-12-22 16:05:00 +00:00
add primary and secondary colors to broadcasts
This commit is contained in:
parent
5ac1545038
commit
f4f28584b5
2 changed files with 2 additions and 2 deletions
|
@ -73,7 +73,7 @@ public class CreateSubcommand extends Common implements CommandExecutor
|
|||
|
||||
Guild.createGuild(identifier, name, player);
|
||||
sender.sendMessage(tl(PREFIX + "Created a guild named \"" + GUtil.colorize(name) + "%p%\"!"));
|
||||
Bukkit.broadcastMessage(GUtil.colorize("&a" + sender.getName() + " has created guild &a&l" + name));
|
||||
Bukkit.broadcastMessage(GUtil.colorize(tl("%p%" + sender.getName() + " has created guild %p%&l" + name)));
|
||||
return true;
|
||||
}
|
||||
}
|
|
@ -67,7 +67,7 @@ public class DisbandSubcommand extends Common implements CommandExecutor
|
|||
guild.disband();
|
||||
GLog.info(player.getName() + " deleted guild " + guild.getName());
|
||||
sender.sendMessage(tl(PREFIX + "You have disbanded your guild!"));
|
||||
Bukkit.broadcastMessage(GUtil.colorize("&c&l" + guild.getName() + "&c has been disbanded"));
|
||||
Bukkit.broadcastMessage(GUtil.colorize(tl("%p%&l" + guild.getName() + "%p% has been disbanded")));
|
||||
return true;
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue