Putting the config saving back in.

This commit is contained in:
tastybento 2019-01-01 14:04:26 -08:00
parent 665ad1e0a4
commit f475ebf3d2

View File

@ -214,7 +214,10 @@ public class BentoBox extends JavaPlugin {
if (islandsManager != null) {
islandsManager.shutdown();
}
// Save settings - not required
// Save settings - ensures admins always have the latest config file
if (settings != null) {
new Config<>(this, Settings.class).saveConfigObject(settings);
}
}
/**