getColumn(int x, int z, WorldProperties properties) {
+ return getColumn(x, z, properties.getMinHeight(), properties.getMaxHeight(), properties.getSeed());
+ }
+
/**
* Get all biomes this {@link BiomeProvider} is capable of generating in the world.
*
diff --git a/common/implementation/base/src/main/java/com/dfsek/terra/AbstractPlatform.java b/common/implementation/base/src/main/java/com/dfsek/terra/AbstractPlatform.java
index 101ca6dcb..fe04ef97e 100644
--- a/common/implementation/base/src/main/java/com/dfsek/terra/AbstractPlatform.java
+++ b/common/implementation/base/src/main/java/com/dfsek/terra/AbstractPlatform.java
@@ -244,12 +244,13 @@ public abstract class AbstractPlatform implements Platform {
String resourceYaml = IOUtils.toString(resourcesConfig, StandardCharsets.UTF_8);
Map> resources = new Yaml().load(resourceYaml);
resources.forEach((dir, entries) -> entries.forEach(entry -> {
- String resourcePath = dir + File.separatorChar + entry;
+ String resourceClassPath = dir + "/" + entry;
+ String resourcePath = resourceClassPath.replace('/', File.separatorChar);
File resource = new File(getDataFolder(), resourcePath);
if(resource.exists())
return; // dont overwrite
- try(InputStream is = getClass().getResourceAsStream("/" + resourcePath)) {
+ try(InputStream is = getClass().getResourceAsStream("/" + resourceClassPath)) {
if(is == null) {
logger.error("Resource {} doesn't exist on the classpath!", resourcePath);
return;
diff --git a/platforms/fabric/src/main/resources/config.yml b/platforms/fabric/src/main/resources/config.yml
deleted file mode 100644
index b13793a3f..000000000
--- a/platforms/fabric/src/main/resources/config.yml
+++ /dev/null
@@ -1,9 +0,0 @@
-debug: false
-data-save: PT6M
-language: "en_us"
-fail-type: SHUTDOWN
-dump-default: true
-biome-search-resolution: 4
-cache-size: 384
-master-disable:
- caves: false
\ No newline at end of file