mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2025-01-09 08:28:16 +00:00
Merge pull request #338 from OmniCypher-/master
Fixes nonbenders leaving blanks in /b who
This commit is contained in:
commit
44f395ddc4
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ public class WhoCommand extends PKCommand {
|
||||||
List<String> players = new ArrayList<String>();
|
List<String> players = new ArrayList<String>();
|
||||||
for (Player player : Bukkit.getOnlinePlayers()) {
|
for (Player player : Bukkit.getOnlinePlayers()) {
|
||||||
String playerName = player.getName();
|
String playerName = player.getName();
|
||||||
String result = "";
|
String result = ChatColor.WHITE + playerName;
|
||||||
BendingPlayer bp = GeneralMethods.getBendingPlayer(playerName);
|
BendingPlayer bp = GeneralMethods.getBendingPlayer(playerName);
|
||||||
if (bp == null) {
|
if (bp == null) {
|
||||||
GeneralMethods.createBendingPlayer(player.getUniqueId(), player.getName());
|
GeneralMethods.createBendingPlayer(player.getUniqueId(), player.getName());
|
||||||
|
|
Loading…
Reference in a new issue