mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2025-02-11 03:30:10 +00:00
Clean up /bending who so it doesn't show null slots
(Credit goes to AlexTheCoder)
This commit is contained in:
parent
bad3c187a2
commit
a3fbf6ccd1
1 changed files with 1 additions and 0 deletions
|
@ -544,6 +544,7 @@ public class Commands {
|
|||
for (int i = 1; i <= 9; i++) {
|
||||
String ability = bPlayer.getAbilities().get(i);
|
||||
if (ability != null) s.sendMessage(i + " - " + Methods.getAbilityColor(ability) + ability);
|
||||
if (ability == null) return true;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue