mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 21:26:46 +01:00
Because you can't join your own parties.
This commit is contained in:
parent
abd8223e41
commit
cb46040309
@ -171,6 +171,11 @@ public class PartyCommand implements CommandExecutor {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (player.equals(target)) {
|
||||
player.sendMessage(LocaleLoader.getString("Party.Join.Self"));
|
||||
return true;
|
||||
}
|
||||
|
||||
String password = null;
|
||||
|
||||
if(args.length > 2) {
|
||||
|
Loading…
Reference in New Issue
Block a user