mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-12-26 18:49:06 +00:00
Push
This commit is contained in:
22
src/main/java/ninja/bytecode/iris/Iris.java
Normal file
22
src/main/java/ninja/bytecode/iris/Iris.java
Normal file
@@ -0,0 +1,22 @@
|
||||
package ninja.bytecode.iris;
|
||||
|
||||
import org.bukkit.generator.ChunkGenerator;
|
||||
import org.bukkit.plugin.java.JavaPlugin;
|
||||
|
||||
import ninja.bytecode.shuriken.execution.TaskExecutor;
|
||||
|
||||
public class Iris extends JavaPlugin
|
||||
{
|
||||
public static TaskExecutor executor;
|
||||
|
||||
public void onEnable()
|
||||
{
|
||||
executor = new TaskExecutor(-1, Thread.MIN_PRIORITY, "Iris Generator");
|
||||
}
|
||||
|
||||
@Override
|
||||
public ChunkGenerator getDefaultWorldGenerator(String worldName, String id)
|
||||
{
|
||||
return new IrisGenerator();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user