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"),
DEFAULTJAIL("jailing.jail.defaultJail"),
DELETEINVENTORY("jailing.jail.deleteInventory"),
EXPLOSIONPROTECTION("jailing.during.explosionProtection"),
EXPLOSIONPROTECTION("jails.explosionProtection"),
FOODCONTROL("jailing.during.foodControl"),
FOODCONTROLMAX("jailing.during.foodControlMax"),
FOODCONTROLMIN("jailing.during.foodControlMin"),

View File

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