Because you can't join your own parties.

This commit is contained in:
TfT_02 2013-01-28 00:35:06 +01:00
parent abd8223e41
commit cb46040309

View File

@ -171,6 +171,11 @@ public class PartyCommand implements CommandExecutor {
return false; return false;
} }
if (player.equals(target)) {
player.sendMessage(LocaleLoader.getString("Party.Join.Self"));
return true;
}
String password = null; String password = null;
if(args.length > 2) { if(args.length > 2) {