Merge pull request #927 from ThatGamerBlue/master
npcunaggroarea: make the notifications respect the config
This commit is contained in:
@@ -521,10 +521,16 @@ public class NpcAggroAreaPlugin extends Plugin
|
||||
|
||||
void doNotification()
|
||||
{
|
||||
if (!this.sendNotification)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
if (hasSentNotification)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
final Player local = client.getLocalPlayer();
|
||||
hasSentNotification = true;
|
||||
notifier.notify("[" + local.getName() + "]'s aggression timer has run out!");
|
||||
|
||||
Reference in New Issue
Block a user