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>
</dependency>
<dependency>
<groupId>com.cnaude.essentials</groupId>
<artifactId>essentials</artifactId>
<version>2.14.1.3</version>
<groupId>com.cnaude.essentialsx</groupId>
<artifactId>essentialsx</artifactId>
<version>2.0.1</version>
<scope>compile</scope>
</dependency>
<dependency>

View File

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

View File

@ -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());
}
}
}