mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-08-09 07:45:28 +02:00
Null parties! Hurray!
This commit is contained in:
@@ -64,6 +64,10 @@ public final class PartyManager {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (firstMcMMOPlayer.getParty() == null || secondMcMMOPlayer.getParty() == null) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
return firstMcMMOPlayer.getParty().equals(secondMcMMOPlayer.getParty());
|
return firstMcMMOPlayer.getParty().equals(secondMcMMOPlayer.getParty());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user