mirror of
https://github.com/dmulloy2/ProtocolLib.git
synced 2024-11-24 03:25:29 +01:00
Update src/main/java/com/comphenix/protocol/utility/SchedulerUtil.java
Co-authored-by: Huynh Tien <huynhqtienvtag@gmail.com>
This commit is contained in:
parent
0398b7d717
commit
70c1875cb4
@ -27,7 +27,7 @@ public class SchedulerUtil {
|
||||
foliaScheduler = getScheduler.invoke(Bukkit.getServer());
|
||||
|
||||
runAtFixedRate = Accessors.getMethodAccessor(foliaScheduler.getClass(), "runAtFixedRate", Plugin.class,
|
||||
Runnable.class, long.class, long.class);
|
||||
Consumer.class, long.class, long.class);
|
||||
cancelTasks = Accessors.getMethodAccessor(foliaScheduler.getClass(), "cancelTasks", Plugin.class);
|
||||
execute = Accessors.getMethodAccessor(foliaScheduler.getClass(), "execute", Plugin.class, Runnable.class);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user