Check to see if players are eligible to join a party before the mcMMOPartyChangeEvent is fired

This commit is contained in:
Daniel Naylor
2012-12-29 12:39:36 +00:00
parent f6bc473eb4
commit 73a5143a17
2 changed files with 22 additions and 1 deletions

View File

@ -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();