Implement structure biome config

This commit is contained in:
dfsek
2020-09-29 02:11:55 -07:00
parent eb208ed9fe
commit 114a9302bc
9 changed files with 70 additions and 64 deletions

View File

@@ -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 {