Merge pull request #7647 from deathbeam/add-missing-config-check

Add missing config check to party leave message
This commit is contained in:
Tomas Slusny
2019-02-01 07:30:42 +00:00
committed by GitHub

View File

@@ -174,6 +174,11 @@ public class PartyPlugin extends Plugin implements KeyListener
{
party.changeParty(null);
if (!config.messages())
{
return;
}
final String leaveMessage = new ChatMessageBuilder()
.append(ChatColorType.HIGHLIGHT)
.append("You have left the party.")