mirror of
https://github.com/PikaMug/Quests.git
synced 2025-01-03 06:57:58 +01:00
Correct data loading order. Bump version number
This commit is contained in:
parent
8cb0e74b68
commit
6526e5ad7c
2
pom.xml
2
pom.xml
@ -3,7 +3,7 @@
|
||||
|
||||
<groupId>me.blackvein.quests</groupId>
|
||||
<artifactId>quests</artifactId>
|
||||
<version>3.1.1</version>
|
||||
<version>3.1.2</version>
|
||||
<name>quests</name>
|
||||
<url>https://github.com/FlyingPikachu/Quests/</url>
|
||||
<packaging>jar</packaging>
|
||||
|
@ -161,15 +161,13 @@ public class Quests extends JavaPlugin implements ConversationAbandonedListener
|
||||
saveResource("events.yml", false);
|
||||
saveResource("data.yml", false);
|
||||
|
||||
// Load files
|
||||
// Load stuff
|
||||
loadConfig();
|
||||
loadModules();
|
||||
defaultLangFile();
|
||||
loadData();
|
||||
loadCommands();
|
||||
|
||||
// Save/load lang
|
||||
defaultLangFile();
|
||||
|
||||
// Save config with any new options
|
||||
getConfig().options().copyDefaults(true);
|
||||
saveConfig();
|
||||
|
@ -992,7 +992,6 @@ public class Lang {
|
||||
}
|
||||
|
||||
public void loadLang() {
|
||||
System.out.println("lang reads = " + lang);
|
||||
File langFile = new File(plugin.getDataFolder(), File.separator + "lang" + File.separator + lang + ".yml");
|
||||
boolean newLangs = false;
|
||||
if (langFile.exists()) {
|
||||
|
Loading…
Reference in New Issue
Block a user