mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2024-12-23 00:15:05 +00:00
Update Spirit jar and Who Command
This commit is contained in:
parent
995b20f7e0
commit
918c09b096
2 changed files with 4 additions and 1 deletions
Binary file not shown.
|
@ -288,9 +288,12 @@ public class WhoCommand extends PKCommand {
|
||||||
if (GeneralMethods.hasSpirits()) {
|
if (GeneralMethods.hasSpirits()) {
|
||||||
SpiritPlayer sPlayer = SpiritPlayer.getSpiritPlayer(player_);
|
SpiritPlayer sPlayer = SpiritPlayer.getSpiritPlayer(player_);
|
||||||
if (subelement.equals(SpiritElement.DARK) && sPlayer.isLightSpirit()) {
|
if (subelement.equals(SpiritElement.DARK) && sPlayer.isLightSpirit()) {
|
||||||
continue;
|
sender.sendMessage(subelement.getColor() + " Is " + sPlayer.getSpirit().getName() + element.getName());
|
||||||
}
|
}
|
||||||
if (subelement.equals(SpiritElement.LIGHT) && sPlayer.isDarkSpirit()) {
|
if (subelement.equals(SpiritElement.LIGHT) && sPlayer.isDarkSpirit()) {
|
||||||
|
sender.sendMessage(subelement.getColor() + " Is " + sPlayer.getSpirit().getName() + element.getName());
|
||||||
|
}
|
||||||
|
if (sPlayer.isSpirit()) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue