Merge pull request #1599 from Gabscap/fix-min_height

Fix world.min_height setting
This commit is contained in:
Jesse Boyd 2017-05-03 14:58:16 +10:00 committed by GitHub
commit 7ee67c8b41

View File

@ -238,7 +238,7 @@ public abstract class PlotArea {
this.PLOT_CHAT = config.getBoolean("chat.enabled"); this.PLOT_CHAT = config.getBoolean("chat.enabled");
this.WORLD_BORDER = config.getBoolean("world.border"); this.WORLD_BORDER = config.getBoolean("world.border");
this.MAX_BUILD_HEIGHT = config.getInt("world.max_height"); this.MAX_BUILD_HEIGHT = config.getInt("world.max_height");
this.MIN_BUILD_HEIGHT = config.getInt("min.max_height"); this.MIN_BUILD_HEIGHT = config.getInt("world.min_height");
switch (config.getString("world.gamemode").toLowerCase()) { switch (config.getString("world.gamemode").toLowerCase()) {
case "survival": case "survival":