Merge pull request #338 from OmniCypher-/master

Fixes nonbenders leaving blanks in /b who
This commit is contained in:
OmniCypher 2015-12-26 12:32:02 -08:00
commit 44f395ddc4

View file

@ -76,7 +76,7 @@ public class WhoCommand extends PKCommand {
List<String> players = new ArrayList<String>();
for (Player player : Bukkit.getOnlinePlayers()) {
String playerName = player.getName();
String result = "";
String result = ChatColor.WHITE + playerName;
BendingPlayer bp = GeneralMethods.getBendingPlayer(playerName);
if (bp == null) {
GeneralMethods.createBendingPlayer(player.getUniqueId(), player.getName());