mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-25 22:56:45 +01:00
Use getAllyName() here instead
This commit is contained in:
parent
8eb6acd60f
commit
66a4925371
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user