Add missing config check to party leave message
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
This commit is contained in:
@@ -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.")
|
||||
|
||||
Reference in New Issue
Block a user