mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-04-09 09:16:34 +00:00
Implement structure biome config
This commit is contained in:
@@ -32,6 +32,7 @@ public class Terra extends JavaPlugin {
|
||||
|
||||
@Override
|
||||
public void onEnable() {
|
||||
instance = this;
|
||||
ConfigUtil.loadConfig(this);
|
||||
|
||||
PluginCommand command = getCommand("terra");
|
||||
@@ -47,7 +48,7 @@ public class Terra extends JavaPlugin {
|
||||
saveDefaultConfig();
|
||||
config = getConfig();
|
||||
Bukkit.getScheduler().scheduleAsyncRepeatingTask(this, TerraChunkGenerator::saveAll, ConfigUtil.dataSave, ConfigUtil.dataSave);
|
||||
instance = this;
|
||||
|
||||
}
|
||||
|
||||
public static void register(JavaPlugin plugin, Command pluginCommand, Commodore commodore) throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user