Added new configuration to default config.yml. Changed navigation configuration variables for Bukkit.

This commit is contained in:
sk89q 2011-01-19 02:49:20 -08:00
parent c76e8ba072
commit 0a8dc5b47d
2 changed files with 7 additions and 2 deletions

View File

@ -39,6 +39,10 @@ super-pickaxe:
snapshots:
directory:
navigation-wand:
item: 345
max-distance: 50
wand-item: 271
shell-save-type:
no-double-slash: false

View File

@ -61,8 +61,9 @@ public void load() {
useInventoryOverride = config.getBoolean("use-inventory.allow-override",
useInventoryOverride);
maxBrushRadius = config.getInt("limits.max-brush-radius", maxBrushRadius);
navigationWand = config.getInt("navigation-wand-item", navigationWand);
navigationWandMaxDistance = config.getInt("navigation-wand-max-distance", navigationWandMaxDistance);
navigationWand = config.getInt("navigation-wand.item", navigationWand);
navigationWandMaxDistance = config.getInt("navigation-wand.max-distance", navigationWandMaxDistance);
disallowedBlocks = new HashSet<Integer>(config.getIntList("limits.disallowed-blocks", null));