mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2026-06-05 17:56:55 +00:00
Added ServerInterface.schedule(delay, period, task).
This commit is contained in:
@@ -48,4 +48,8 @@ public class BukkitServerInterface extends ServerInterface {
|
||||
plugin.loadConfiguration();
|
||||
}
|
||||
|
||||
@Override
|
||||
public int schedule(long delay, long period, Runnable task) {
|
||||
return Bukkit.getScheduler().scheduleSyncRepeatingTask(plugin, task, delay, period);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user