mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-20 13:29:43 +00:00
Remove runTack()
This commit is contained in:
1 parent
a6cd55fcea
commit
6df7d3643f
4 files changed
+11
-34
No files matched your search
@@ -8,12 +8,4 @@ import java.util.concurrent.TimeUnit;
|
||||
public class CustomNPCsThreader {
|
||||
private final static ScheduledExecutorService executor = Executors.newScheduledThreadPool(1);
|
||||
public static final Executor playerDataThread = Executors.newSingleThreadExecutor();
|
||||
|
||||
public static void runTack(Runnable task, int delay){
|
||||
executor.schedule(task, delay, TimeUnit.MILLISECONDS);
|
||||
}
|
||||
|
||||
public static void runTack(Runnable task){
|
||||
executor.schedule(task, 0, TimeUnit.MILLISECONDS);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user