mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-12-25 18:17: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;
|
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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user