Update Spirit jar and Who Command

This commit is contained in:
jedk1 2016-03-10 18:53:45 +00:00
parent 995b20f7e0
commit 918c09b096
2 changed files with 4 additions and 1 deletions

Binary file not shown.

View file

@ -288,9 +288,12 @@ public class WhoCommand extends PKCommand {
if (GeneralMethods.hasSpirits()) {
SpiritPlayer sPlayer = SpiritPlayer.getSpiritPlayer(player_);
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()) {
sender.sendMessage(subelement.getColor() + " Is " + sPlayer.getSpirit().getName() + element.getName());
}
if (sPlayer.isSpirit()) {
continue;
}
}