9
0
mirror of https://github.com/VolmitSoftware/Iris.git synced 2025-12-26 18:49:06 +00:00

Tweaking carves

This commit is contained in:
Daniel Mills
2020-01-14 01:16:33 -05:00
parent 8e28c59163
commit 90846401a5
18 changed files with 449 additions and 224 deletions

View File

@@ -46,10 +46,10 @@ public class Iris extends JavaPlugin implements Listener
getServer().getPluginManager().registerEvents((Listener) this, this);
getCommand("iris").setExecutor(new CommandIris());
getCommand("ish").setExecutor(new CommandIsh());
if(!settings.performance.debugMode)
{
getController(PackController.class).loadContent();
getController(PackController.class).compile();
}
}
@@ -59,10 +59,11 @@ public class Iris extends JavaPlugin implements Listener
HandlerList.unregisterAll((Plugin) this);
Bukkit.getScheduler().cancelTasks(this);
}
public void reload()
{
Bukkit.getScheduler().scheduleSyncDelayedTask(Iris.instance, () -> {
Bukkit.getScheduler().scheduleSyncDelayedTask(Iris.instance, () ->
{
onDisable();
onEnable();
});