Fix a updater bug.

Former-commit-id: 607a4c198993d04aba9327d170ea57ad83b5d4a2
This commit is contained in:
Ghost_chu committed 2020-03-16 22:22:29 +08:00
1 parent ffcb12ffbd
commit 9ec2ec82eb
1 file changed
+1 -1
@@ -260,7 +260,7 @@ public class MsgUtil {
plugin.getLanguage().saveFile(languageCode, "messages", "messages.json");
YamlConfiguration oldMsgI18n = YamlConfiguration.loadConfiguration(oldMsgFile);
for (String key : oldMsgI18n.getKeys(true)) {
oldMsgI18n.get(key);
nJson.set(key, oldMsgI18n.get(key));
}
nJson.save();
try {