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