Mineplex2018-withcommit/Plugins/Mineplex.MapParser/src/mineplex/mapparser/Ticker.java
Mini-Chiss 62f6ea815d Champs Balance Update
Map Parser Update
2014-07-07 16:23:55 -07:00

21 lines
403 B
Java

package mineplex.mapparser;
import org.bukkit.plugin.java.JavaPlugin;
public class Ticker implements Runnable
{
private JavaPlugin _plugin;
public Ticker(JavaPlugin plugin)
{
_plugin = plugin;
_plugin.getServer().getScheduler().scheduleSyncRepeatingTask(_plugin, this, 0L, 1L);
}
@Override
public void run()
{
_plugin.getServer().getPluginManager().callEvent(new TickEvent());
}
}