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