mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-25 22:56:45 +01:00
If they aren't in a party, they shouldn't be in party chat mode.
This commit is contained in:
parent
6818f98de3
commit
1867a3e040
@ -540,6 +540,7 @@ public class PlayerListener implements Listener {
|
||||
Party party = mcMMOPlayer.getParty();
|
||||
|
||||
if (party == null) {
|
||||
mcMMOPlayer.togglePartyChat();
|
||||
player.sendMessage(LocaleLoader.getString("Commands.Party.None"));
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user