Remove bad config

Former-commit-id: a2b31bf9288ff14b25b4367f1f646e56a01bde0e
This commit is contained in:
Ghost_chu committed 2020-01-30 10:03:18 +08:00
1 parent 6a189c3aaf
commit 174e9f569b
2 files changed
+6 -1

No files matched your search

@@ -1368,6 +1368,11 @@ public class QuickShop extends JavaPlugin {
getConfig().set("config-version", 78);
selectedVersion = 78;
}
if (selectedVersion == 78) {
getConfig().set("shop.display-type-specifics", null);
getConfig().set("config-version", 79);
selectedVersion = 79;
}
saveConfig();
reloadConfig();
File file = new File(getDataFolder(), "example.config.yml");
+1 -1
View File
@@ -1,7 +1,7 @@
#This is example config, don't direct modify this file, all changes will revert when you reload the plugin.
#Do not touch if you not clear know about this
config-version: 78
config-version: 79
#Select the language you want to use, (e.g de), use only supported language codes from the list below.
#If you use a not exist/not support language, plugin will move to use en_US to keep everything working.