From 00fb65c20deed6f73e90582e9cc61adf1363c598 Mon Sep 17 00:00:00 2001 From: cnaude Date: Wed, 9 Dec 2015 21:08:03 -0700 Subject: [PATCH] Fix opposite AFK messages. --- dependency-reduced-pom.xml | 6 +++--- pom.xml | 6 +++--- .../cnaude/purpleirc/GameListeners/EssentialsListener.java | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/dependency-reduced-pom.xml b/dependency-reduced-pom.xml index 3ed8260..fd570da 100644 --- a/dependency-reduced-pom.xml +++ b/dependency-reduced-pom.xml @@ -157,9 +157,9 @@ compile - com.cnaude.essentials - essentials - 2.14.1.3 + com.cnaude.essentialsx + essentialsx + 2.0.1 compile diff --git a/pom.xml b/pom.xml index 26f5b48..8a16034 100644 --- a/pom.xml +++ b/pom.xml @@ -129,9 +129,9 @@ - com.cnaude.essentials - essentials - 2.14.1.3 + com.cnaude.essentialsx + essentialsx + 2.0.1 jar diff --git a/src/main/java/com/cnaude/purpleirc/GameListeners/EssentialsListener.java b/src/main/java/com/cnaude/purpleirc/GameListeners/EssentialsListener.java index a3ff197..491a759 100644 --- a/src/main/java/com/cnaude/purpleirc/GameListeners/EssentialsListener.java +++ b/src/main/java/com/cnaude/purpleirc/GameListeners/EssentialsListener.java @@ -52,7 +52,7 @@ public class EssentialsListener implements Listener { public void run() { for (PurpleBot ircBot : plugin.ircBots.values()) { if (user.getBase().isOnline()) { - ircBot.essentialsAFK(user.getBase(), !user.isAfk()); + ircBot.essentialsAFK(user.getBase(), user.isAfk()); } } }