mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-28 19:54:44 +02:00
Check to see if players are eligible to join a party before the mcMMOPartyChangeEvent is fired
This commit is contained in:
@ -241,7 +241,7 @@ public class PartyManager {
|
||||
* @param password The password provided by the player
|
||||
* @return true if the player can join the party
|
||||
*/
|
||||
private boolean checkJoinability(Player player, PlayerProfile playerProfile, Party party, String password) {
|
||||
public boolean checkJoinability(Player player, PlayerProfile playerProfile, Party party, String password) {
|
||||
//Don't care about passwords if it isn't locked
|
||||
if (party.isLocked()) {
|
||||
String partyPassword = party.getPassword();
|
||||
|
Reference in New Issue
Block a user