Added none message to messages file
This commit is contained in:
@@ -46,7 +46,7 @@ public class ManageCommand extends Command {
|
|||||||
playerlist += msgs.get("list.playerlist").replaceAll("\\{NAME\\}", p.getDisplayName());
|
playerlist += msgs.get("list.playerlist").replaceAll("\\{NAME\\}", p.getDisplayName());
|
||||||
}
|
}
|
||||||
if(playerlist.equalsIgnoreCase("")) {
|
if(playerlist.equalsIgnoreCase("")) {
|
||||||
playerlist = msgs.color("&7None, ");
|
playerlist = msgs.get("list.none")+", ";
|
||||||
}
|
}
|
||||||
playerlist = playerlist.substring(0, playerlist.length()-2);
|
playerlist = playerlist.substring(0, playerlist.length()-2);
|
||||||
msg = msg.replaceAll("\\{LIST\\}", playerlist);
|
msg = msg.replaceAll("\\{LIST\\}", playerlist);
|
||||||
|
|||||||
@@ -76,6 +76,7 @@ public class BungeeMessages {
|
|||||||
d.put("list.format", "&b{SERVER} &7({COUNT}): {LIST}");
|
d.put("list.format", "&b{SERVER} &7({COUNT}): {LIST}");
|
||||||
d.put("list.playerlist", "&9{NAME}&7, ");
|
d.put("list.playerlist", "&9{NAME}&7, ");
|
||||||
d.put("list.total", "&7Total players in queues: &f{TOTAL}");
|
d.put("list.total", "&7Total players in queues: &f{TOTAL}");
|
||||||
|
d.put("list.none", "&7None");
|
||||||
|
|
||||||
|
|
||||||
for(String k : d.keySet()) {
|
for(String k : d.keySet()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user