mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2024-11-01 01:42:18 +00:00
Update Spirit jar and Who Command
This commit is contained in:
parent
995b20f7e0
commit
918c09b096
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