Added ServerInterface.schedule(delay, period, task).

This commit is contained in:
TomyLobo
2011-11-28 07:59:14 +01:00
parent cc0e39b493
commit a4ccadacdc
2 changed files with 17 additions and 0 deletions

View File

@ -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);
}
}