9
0
mirror of https://github.com/VolmitSoftware/Iris.git synced 2025-12-27 02:59:06 +00:00

1.12.2 Stupid Speeds

This commit is contained in:
Daniel Mills
2019-10-17 10:17:06 -04:00
parent 05f501a66a
commit ba84ac56e9
9 changed files with 353 additions and 496 deletions

View File

@@ -20,7 +20,6 @@ import ninja.bytecode.shuriken.execution.TaskExecutor;
public class Iris extends JavaPlugin implements Listener
{
public static TaskExecutor noisePool;
public static TaskExecutor blockPool;
public static IrisGenerator gen;
public static Settings settings;
public static Iris instance;
@@ -31,7 +30,6 @@ public class Iris extends JavaPlugin implements Listener
settings = new Settings();
gen = new IrisGenerator();
noisePool = new TaskExecutor(settings.performance.threadCount, settings.performance.threadPriority, "Iris Noise Generator");
blockPool = new TaskExecutor(1, Thread.MAX_PRIORITY, "Iris Decorator");
getServer().getPluginManager().registerEvents((Listener) this, this);
// Debug world regens
@@ -54,7 +52,6 @@ public class Iris extends JavaPlugin implements Listener
public void onDisable()
{
noisePool.close();
blockPool.close();
}
@Override