From 6ed41fdc1ac612fc992316a250bb2138c6bd7b90 Mon Sep 17 00:00:00 2001 From: tastybento Date: Wed, 4 May 2016 23:52:43 -0700 Subject: [PATCH] Added auto-clear superflat option to config.yml. Removed debug. --- config.yml | 6 ++++++ .../wasteofplastic/askyblock/schematics/IslandBlock.java | 8 ++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/config.yml b/config.yml index f3aadc2a6..b0212971d 100644 --- a/config.yml +++ b/config.yml @@ -519,6 +519,12 @@ general: # If true, players can push each other (default 1.9 behavior) if false, # players will not be able to push. Recommendation is to leave this true. allowpushing: true + + # Recover super flat - if the generator does not run for some reason, you can get + # super flat chunks (grass). To remove automatically, select this option. Turn off + # if there are no more because it may cause lag. + # This will regenerate any chunks with bedrock at y=0 when they are loaded + recoversuperflat: false # Config.yml version. DO NOT EDIT. This number only changes if the latest # plugin config has been updated. If a new config is detected, it will be diff --git a/src/com/wasteofplastic/askyblock/schematics/IslandBlock.java b/src/com/wasteofplastic/askyblock/schematics/IslandBlock.java index f4d89bc6d..07912facc 100644 --- a/src/com/wasteofplastic/askyblock/schematics/IslandBlock.java +++ b/src/com/wasteofplastic/askyblock/schematics/IslandBlock.java @@ -278,19 +278,19 @@ public void setFlowerPot(Map map){ * @param tileData */ public void setSpawnerType(Map tileData) { - Bukkit.getLogger().info("DEBUG: " + tileData.toString()); + //Bukkit.getLogger().info("DEBUG: " + tileData.toString()); String creatureType = ""; if (tileData.containsKey("EntityId")) { creatureType = ((StringTag) tileData.get("EntityId")).getValue().toUpperCase(); } else if (tileData.containsKey("SpawnData")) { // 1.9 format Map spawnData = ((CompoundTag) tileData.get("SpawnData")).getValue(); - Bukkit.getLogger().info("DEBUG: " + spawnData.toString()); + //Bukkit.getLogger().info("DEBUG: " + spawnData.toString()); if (spawnData.containsKey("id")) { creatureType = ((StringTag) spawnData.get("id")).getValue().toUpperCase(); } } - Bukkit.getLogger().info("DEBUG: creature type = " + creatureType); + //Bukkit.getLogger().info("DEBUG: creature type = " + creatureType); if (WEtoME.containsKey(creatureType)) { spawnerBlockType = WEtoME.get(creatureType); } else { @@ -300,7 +300,7 @@ public void setSpawnerType(Map tileData) { Bukkit.getLogger().severe("I don't know what a " + creatureType + " is... Skipping spawner setting."); } } - Bukkit.getLogger().info("DEBUG: spawnerblock type = " + spawnerBlockType); + //Bukkit.getLogger().info("DEBUG: spawnerblock type = " + spawnerBlockType); } /**