Configurable Below Zero Generation
By: DerFrZocker <derrieple@gmail.com>
This commit is contained in:
@@ -401,4 +401,9 @@ public class SpigotConfig
|
||||
private static void disablePlayerDataSaving() {
|
||||
SpigotConfig.disablePlayerDataSaving = SpigotConfig.getBoolean("players.disable-saving", false);
|
||||
}
|
||||
|
||||
public static boolean belowZeroGenerationInExistingChunks;
|
||||
private static void belowZeroGenerationInExistingChunks() {
|
||||
SpigotConfig.belowZeroGenerationInExistingChunks = SpigotConfig.getBoolean("world-settings.default.below-zero-generation-in-existing-chunks", true);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -388,4 +388,9 @@ public class SpigotWorldConfig
|
||||
{
|
||||
this.thunderChance = this.getInt("thunder-chance", 100000);
|
||||
}
|
||||
|
||||
public boolean belowZeroGenerationInExistingChunks;
|
||||
private void belowZeroGenerationInExistingChunks() {
|
||||
this.belowZeroGenerationInExistingChunks = this.getBoolean("below-zero-generation-in-existing-chunks", true);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user