From 2b7178fb0013afb61f49845ada294578f9e31959 Mon Sep 17 00:00:00 2001 From: TfT_02 Date: Fri, 22 Mar 2013 19:02:51 +0100 Subject: [PATCH] Fixed broken /party join command Fixes #863 --- .../java/com/gmail/nossr50/commands/party/PartyJoinCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/gmail/nossr50/commands/party/PartyJoinCommand.java b/src/main/java/com/gmail/nossr50/commands/party/PartyJoinCommand.java index d01befcd6..1aef6d145 100644 --- a/src/main/java/com/gmail/nossr50/commands/party/PartyJoinCommand.java +++ b/src/main/java/com/gmail/nossr50/commands/party/PartyJoinCommand.java @@ -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);