We don't need that param.

This commit is contained in:
gmcferrin
2013-01-09 23:15:29 -05:00
parent 4a4db675f1
commit e036b7ac70
2 changed files with 5 additions and 5 deletions

View File

@ -224,7 +224,7 @@ public class PartyManager {
parties.add(party);
}
else if (!checkJoinability(player, playerProfile, party, password)) {
else if (!checkJoinability(player, party, password)) {
return;
}
@ -241,7 +241,7 @@ public class PartyManager {
* @param password The password provided by the player
* @return true if the player can join the party
*/
public boolean checkJoinability(Player player, PlayerProfile playerProfile, Party party, String password) {
public boolean checkJoinability(Player player, Party party, String password) {
//Don't care about passwords if it isn't locked
if (party.isLocked()) {
String partyPassword = party.getPassword();