mirror of
https://github.com/cnaude/PurpleIRC-spigot.git
synced 2024-11-25 19:45:54 +01:00
Fix opposite AFK messages.
This commit is contained in:
parent
7885a0a398
commit
00fb65c20d
@ -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>
|
||||
|
6
pom.xml
6
pom.xml
@ -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>
|
||||
|
||||
|
@ -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());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user