mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 13:16:45 +01:00
Null parties! Hurray!
This commit is contained in:
parent
7a61f55e49
commit
45c6c20ccd
@ -64,6 +64,10 @@ public final class PartyManager {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (firstMcMMOPlayer.getParty() == null || secondMcMMOPlayer.getParty() == null) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return firstMcMMOPlayer.getParty().equals(secondMcMMOPlayer.getParty());
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user