mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2025-02-11 03:30:10 +00:00
Merge pull request #226 from kingbirdy/fix/who
Fix staff titles not displaying with /b who
This commit is contained in:
commit
e87913a165
1 changed files with 3 additions and 2 deletions
|
@ -52,6 +52,7 @@ public class WhoCommand extends PKCommand {
|
|||
staff.put("5031c4e3-8103-49ea-b531-0d6ae71bad69", ChatColor.DARK_PURPLE + "ProjectKorra Developer"); // Simplicitee
|
||||
staff.put("d7757be8-86de-4898-ab4f-2b1b2fbc3dfa", ChatColor.DARK_PURPLE + "ProjectKorra Developer"); // StrangeOne101
|
||||
staff.put("a9673c93-9186-367a-96c4-e111a3bbd1b1", ChatColor.DARK_PURPLE + "ProjectKorra Developer"); // kingbirdy
|
||||
staff.put("dedf335b-d282-47ab-8ffc-a80121661cd1", ChatColor.DARK_PURPLE + "ProjectKorra Developer"); // grasshopperMatt
|
||||
|
||||
staff.put("623df34e-9cd4-438d-b07c-1905e1fc46b6", ChatColor.GREEN + "ProjectKorra Concept Designer"); // Loony
|
||||
staff.put("80f9072f-e37e-4adc-8675-1ba6af87d63b", ChatColor.GREEN + "ProjectKorra Concept Designer"); // Cross
|
||||
|
@ -199,8 +200,8 @@ public class WhoCommand extends PKCommand {
|
|||
}
|
||||
}
|
||||
|
||||
if (staff.containsKey(uuid)) {
|
||||
sender.sendMessage(staff.get(uuid));
|
||||
if (staff.containsKey(uuid.toString())) {
|
||||
sender.sendMessage(staff.get(uuid.toString()));
|
||||
}
|
||||
} else {
|
||||
sender.sendMessage(ChatColor.GREEN + "You are running a lookup of an offline player, this may take a second.");
|
||||
|
|
Loading…
Reference in a new issue