diff --git a/src/main/java/world/bentobox/caveblock/Settings.java b/src/main/java/world/bentobox/caveblock/Settings.java index 67b63e4..5501717 100644 --- a/src/main/java/world/bentobox/caveblock/Settings.java +++ b/src/main/java/world/bentobox/caveblock/Settings.java @@ -166,13 +166,13 @@ public class Settings implements WorldSettings /** - * This method returns the useOwnGenerator object. - * @return the useOwnGenerator object. + * This is not an option in Caveblock + * @return false */ @Override public boolean isUseOwnGenerator() { - return useOwnGenerator; + return false; } @@ -1031,16 +1031,6 @@ public class Settings implements WorldSettings } - /** - * This method sets the useOwnGenerator object value. - * @param useOwnGenerator the useOwnGenerator object new value. - * - */ - public void setUseOwnGenerator(boolean useOwnGenerator) - { - this.useOwnGenerator = useOwnGenerator; - } - /** * This method sets the maxIslands object value. * @param maxIslands the maxIslands object new value. @@ -2183,11 +2173,6 @@ public class Settings implements WorldSettings @ConfigEntry(path = "world.cave-height") private int islandHeight = 60; - @ConfigComment("Use your own world generator for this world.") - @ConfigComment("In this case, the plugin will not generate anything.") - @ConfigEntry(path = "world.use-own-generator", experimental = true) - private boolean useOwnGenerator = true; - @ConfigComment("Maximum number of caves in the world. Set to -1 or 0 for unlimited.") @ConfigComment("If the number of caves is greater than this number, it will stop players from creating caves.") @ConfigEntry(path = "world.max-caves") diff --git a/src/main/resources/config.yml b/src/main/resources/config.yml index 7e2cf37..5c6ed0e 100644 --- a/src/main/resources/config.yml +++ b/src/main/resources/config.yml @@ -69,10 +69,6 @@ world: # Cave height - Lowest is 5. # It is the y coordinate of the bedrock block in the schem. cave-height: 60 - # Use your own world generator for this world. - # In this case, the plugin will not generate anything. - # /!\ This feature is experimental and might not work as expected or might not work at all. - use-own-generator: true # Maximum number of caves in the world. Set to -1 or 0 for unlimited. # If the number of caves is greater than this number, it will stop players from creating caves. max-caves: 0