summaryrefslogtreewikicommitdiff
path: root/src/main/java/net/tylermurphy/hideAndSeek/configuration/Config.java
diff options
context:
space:
mode:
authorTyler Murphy <tylermurphy534@gmail.com>2022-07-21 13:02:20 -0400
committerTyler Murphy <tylermurphy534@gmail.com>2022-07-21 13:02:20 -0400
commit72314cabf8634d5fcf1a8187bcb384683583d427 (patch)
tree496727f5d98fb90672a3bf0bf10af6789d6c9a4a /src/main/java/net/tylermurphy/hideAndSeek/configuration/Config.java
parentMerge pull request #68 from tylermurphy534/1.5.0 (diff)
downloadkenshinshideandseek-72314cabf8634d5fcf1a8187bcb384683583d427.tar.gz
kenshinshideandseek-72314cabf8634d5fcf1a8187bcb384683583d427.tar.bz2
kenshinshideandseek-72314cabf8634d5fcf1a8187bcb384683583d427.zip
Save Inventorys on Leave
Diffstat (limited to 'src/main/java/net/tylermurphy/hideAndSeek/configuration/Config.java')
-rw-r--r--src/main/java/net/tylermurphy/hideAndSeek/configuration/Config.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/java/net/tylermurphy/hideAndSeek/configuration/Config.java b/src/main/java/net/tylermurphy/hideAndSeek/configuration/Config.java
index 4aeac68..123432d 100644
--- a/src/main/java/net/tylermurphy/hideAndSeek/configuration/Config.java
+++ b/src/main/java/net/tylermurphy/hideAndSeek/configuration/Config.java
@@ -89,7 +89,8 @@ public class Config {
lobbyItemStartAdmin,
leaveOnEnd,
mapSaveEnabled,
- allowNaturalCauses;
+ allowNaturalCauses,
+ saveInventory;
public static int
minPlayers,
@@ -267,6 +268,7 @@ public class Config {
leaveOnEnd = config.getBoolean("leaveOnEnd");
placeholderError = config.getString("placeholder.incorrect");
placeholderNoData = config.getString("placeholder.noData");
+ saveInventory = config.getBoolean("saveInventory");
try {
countdownDisplay = CountdownDisplay.valueOf(config.getString("hideCountdownDisplay"));
} catch (IllegalArgumentException e) {