Fixed time conversion being from seconds to millis instead of minutes to milis and npe for last kicked tracker
This commit is contained in:
@@ -2,6 +2,7 @@ package com.alttd.afkdectector;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.UUID;
|
||||
import java.util.concurrent.TimeUnit;
|
||||
|
||||
import com.alttd.afkdectector.afkplayer.AFKPlayer;
|
||||
import com.alttd.afkdectector.config.Config;
|
||||
@@ -31,7 +32,7 @@ public class MessageTimer extends BukkitRunnable {
|
||||
}
|
||||
|
||||
public void init() {
|
||||
runTaskTimer(plugin, 0, Config.MESSAGEDELAY * 20);
|
||||
runTaskTimer(plugin, 0, Config.MESSAGEDELAY * 20L);
|
||||
}
|
||||
|
||||
// TODO get a better string builder
|
||||
|
||||
Reference in New Issue
Block a user