Add a config setting to allow creative mode players to override inventory setting.

This commit is contained in:
Wizjany
2013-01-19 19:06:55 -05:00
parent 89bdd8d9ba
commit 6abd48ab08
6 changed files with 23 additions and 2 deletions

View File

@ -93,6 +93,8 @@ public class YAMLConfiguration extends LocalConfiguration {
useInventory = config.getBoolean("use-inventory.enable", useInventory);
useInventoryOverride = config.getBoolean("use-inventory.allow-override",
useInventoryOverride);
useInventoryCreativeOverride = config.getBoolean("use-inventory.creative-mode-overrides",
useInventoryCreativeOverride);
navigationWand = config.getInt("navigation-wand.item", navigationWand);
navigationWandMaxDistance = config.getInt("navigation-wand.max-distance", navigationWandMaxDistance);