Set the OreAlert task to run every tick. (#17)
parent
33953fd989
commit
e64f2119c5
|
@ -89,7 +89,7 @@ public class MinecraftManager extends JavaPlugin implements IMinecraftManager {
|
|||
getServer().getPluginManager().registerEvents(commandPreprocessListener, this);
|
||||
|
||||
oreAlert = new OreAlert(this);
|
||||
Bukkit.getScheduler().runTaskTimer(this, () -> oreAlert.monitor(), 0, 20);
|
||||
Bukkit.getScheduler().runTaskTimer(this, () -> oreAlert.monitor(), 0, 1);
|
||||
|
||||
Bukkit.getConsoleSender().sendMessage("MinecraftManager has started successfully.");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue