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

Dieser Commit ist enthalten in:
sk89q 2011-01-19 02:49:20 -08:00
Ursprung c76e8ba072
Commit 0a8dc5b47d
2 geänderte Dateien mit 7 neuen und 2 gelöschten Zeilen

Datei anzeigen

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

Datei anzeigen

@ -61,8 +61,9 @@ public class BukkitConfiguration extends LocalConfiguration {
useInventoryOverride = config.getBoolean("use-inventory.allow-override", useInventoryOverride = config.getBoolean("use-inventory.allow-override",
useInventoryOverride); useInventoryOverride);
maxBrushRadius = config.getInt("limits.max-brush-radius", maxBrushRadius); 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)); disallowedBlocks = new HashSet<Integer>(config.getIntList("limits.disallowed-blocks", null));