From 4179a6a2d39aff04addb123712cf4096b33c1e21 Mon Sep 17 00:00:00 2001 From: graywolf336 Date: Tue, 21 Jan 2014 12:21:33 -0600 Subject: [PATCH] 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. --- src/main/java/com/graywolf336/jail/enums/Settings.java | 2 +- src/main/resources/config.yml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/graywolf336/jail/enums/Settings.java b/src/main/java/com/graywolf336/jail/enums/Settings.java index 46c2f1f..799105c 100644 --- a/src/main/java/com/graywolf336/jail/enums/Settings.java +++ b/src/main/java/com/graywolf336/jail/enums/Settings.java @@ -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"), diff --git a/src/main/resources/config.yml b/src/main/resources/config.yml index b776811..10f076d 100644 --- a/src/main/resources/config.yml +++ b/src/main/resources/config.yml @@ -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