Fixed broken /party join command

Fixes #863
This commit is contained in:
TfT_02 2013-03-22 19:02:51 +01:00
parent c47bf84493
commit 2b7178fb00

View File

@ -31,7 +31,7 @@ public class PartyJoinCommand implements CommandExecutor {
return true; return true;
} }
mcMMOPlayer = UserManager.getPlayer(args[1]); mcMMOPlayer = UserManager.getPlayer((Player) sender);
player = mcMMOPlayer.getPlayer(); player = mcMMOPlayer.getPlayer();
String password = getPassword(args); String password = getPassword(args);