1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-13 18:14:38 +02:00

Add white color after each name to prevent coloration of the next name.

This commit is contained in:
snowleo
2011-07-23 00:46:54 +02:00
parent e1425f5e25
commit 544fb7faf9

View File

@@ -102,6 +102,7 @@ public class Commandlist extends EssentialsCommand
groupString.append("§7[HIDDEN]§f"); groupString.append("§7[HIDDEN]§f");
} }
groupString.append(user.getDisplayName()); groupString.append(user.getDisplayName());
groupString.append("§f");
} }
sender.sendMessage(groupString.toString()); sender.sendMessage(groupString.toString());
} }
@@ -142,6 +143,7 @@ public class Commandlist extends EssentialsCommand
onlineUsers.append("§7[HIDDEN]§f"); onlineUsers.append("§7[HIDDEN]§f");
} }
onlineUsers.append(user.getDisplayName()); onlineUsers.append(user.getDisplayName());
onlineUsers.append("§f");
} }
sender.sendMessage(onlineUsers.toString()); sender.sendMessage(onlineUsers.toString());
} }