Use getAllyName() here instead

This commit is contained in:
TfT_02 2014-05-02 00:53:05 +02:00
parent 8eb6acd60f
commit 66a4925371

View File

@ -176,7 +176,7 @@ public final class PartyAPI {
} }
public static boolean hasAlly(String partyName) { public static boolean hasAlly(String partyName) {
return PartyManager.getParty(partyName).getAlly() != null; return getAllyName(partyName) != null;
} }
public static String getAllyName(String partyName) { public static String getAllyName(String partyName) {