1
0
mirror of https://github.com/mcMMO-Dev/mcMMO.git synced 2025-04-03 18:26:24 +02:00

Fixed broken /party join command

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

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