Move the explosion protection to a different section of the config.

This way it makes more sense, as the explosionProtection is for the
jails and not during the jailing.
This commit is contained in:
graywolf336 2014-01-21 12:21:33 -06:00
parent b005248deb
commit 4179a6a2d3
2 changed files with 3 additions and 2 deletions

View File

@ -17,7 +17,7 @@ public enum Settings {
DEBUG("system.debug"), DEBUG("system.debug"),
DEFAULTJAIL("jailing.jail.defaultJail"), DEFAULTJAIL("jailing.jail.defaultJail"),
DELETEINVENTORY("jailing.jail.deleteInventory"), DELETEINVENTORY("jailing.jail.deleteInventory"),
EXPLOSIONPROTECTION("jailing.during.explosionProtection"), EXPLOSIONPROTECTION("jails.explosionProtection"),
FOODCONTROL("jailing.during.foodControl"), FOODCONTROL("jailing.during.foodControl"),
FOODCONTROLMAX("jailing.during.foodControlMax"), FOODCONTROLMAX("jailing.during.foodControlMax"),
FOODCONTROLMIN("jailing.during.foodControlMin"), FOODCONTROLMIN("jailing.during.foodControlMin"),

View File

@ -11,6 +11,8 @@ storage:
port: 3306 port: 3306
username: 'root' username: 'root'
password: 'password' password: 'password'
jails:
explosionProtection: true
jailing: jailing:
during: during:
blockBreakPenalty: 5m blockBreakPenalty: 5m
@ -23,7 +25,6 @@ jailing:
commandProtection: true commandProtection: true
commandWhitelist: ['/ping', '/list'] commandWhitelist: ['/ping', '/list']
countDownTimeWhileOffline: false countDownTimeWhileOffline: false
explosionProtection: true
foodControl: true foodControl: true
foodControlMax: 20 foodControlMax: 20
foodControlMin: 10 foodControlMin: 10