Remove use own generator option as it isn't used.

This commit is contained in:
tastybento 2021-12-21 08:40:04 -08:00
parent 4a2e08c228
commit 124b4e8c0c
2 changed files with 3 additions and 22 deletions

View File

@ -166,13 +166,13 @@ public class Settings implements WorldSettings
/** /**
* This method returns the useOwnGenerator object. * This is not an option in Caveblock
* @return the useOwnGenerator object. * @return false
*/ */
@Override @Override
public boolean isUseOwnGenerator() 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. * This method sets the maxIslands object value.
* @param maxIslands the maxIslands object new value. * @param maxIslands the maxIslands object new value.
@ -2183,11 +2173,6 @@ public class Settings implements WorldSettings
@ConfigEntry(path = "world.cave-height") @ConfigEntry(path = "world.cave-height")
private int islandHeight = 60; 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("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.") @ConfigComment("If the number of caves is greater than this number, it will stop players from creating caves.")
@ConfigEntry(path = "world.max-caves") @ConfigEntry(path = "world.max-caves")

View File

@ -69,10 +69,6 @@ world:
# Cave height - Lowest is 5. # Cave height - Lowest is 5.
# It is the y coordinate of the bedrock block in the schem. # It is the y coordinate of the bedrock block in the schem.
cave-height: 60 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. # 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. # If the number of caves is greater than this number, it will stop players from creating caves.
max-caves: 0 max-caves: 0