From 66a49253712a56f1328615f51c0282d80fdca36c Mon Sep 17 00:00:00 2001 From: TfT_02 Date: Fri, 2 May 2014 00:53:05 +0200 Subject: [PATCH] Use getAllyName() here instead --- src/main/java/com/gmail/nossr50/api/PartyAPI.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/gmail/nossr50/api/PartyAPI.java b/src/main/java/com/gmail/nossr50/api/PartyAPI.java index a0fc47d44..484f68e11 100644 --- a/src/main/java/com/gmail/nossr50/api/PartyAPI.java +++ b/src/main/java/com/gmail/nossr50/api/PartyAPI.java @@ -176,7 +176,7 @@ public final class PartyAPI { } public static boolean hasAlly(String partyName) { - return PartyManager.getParty(partyName).getAlly() != null; + return getAllyName(partyName) != null; } public static String getAllyName(String partyName) {