Fix opposite AFK messages.

This commit is contained in:
cnaude 2015-12-09 21:08:03 -07:00
parent 7885a0a398
commit 00fb65c20d
3 changed files with 7 additions and 7 deletions

View File

@ -157,9 +157,9 @@
<scope>compile</scope> <scope>compile</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.cnaude.essentials</groupId> <groupId>com.cnaude.essentialsx</groupId>
<artifactId>essentials</artifactId> <artifactId>essentialsx</artifactId>
<version>2.14.1.3</version> <version>2.0.1</version>
<scope>compile</scope> <scope>compile</scope>
</dependency> </dependency>
<dependency> <dependency>

View File

@ -129,9 +129,9 @@
<!-- Essentials --> <!-- Essentials -->
<dependency> <dependency>
<groupId>com.cnaude.essentials</groupId> <groupId>com.cnaude.essentialsx</groupId>
<artifactId>essentials</artifactId> <artifactId>essentialsx</artifactId>
<version>2.14.1.3</version> <version>2.0.1</version>
<type>jar</type> <type>jar</type>
</dependency> </dependency>

View File

@ -52,7 +52,7 @@ public class EssentialsListener implements Listener {
public void run() { public void run() {
for (PurpleBot ircBot : plugin.ircBots.values()) { for (PurpleBot ircBot : plugin.ircBots.values()) {
if (user.getBase().isOnline()) { if (user.getBase().isOnline()) {
ircBot.essentialsAFK(user.getBase(), !user.isAfk()); ircBot.essentialsAFK(user.getBase(), user.isAfk());
} }
} }
} }