1
0
mirror of https://github.com/Zrips/Jobs.git synced 2025-01-18 22:21:26 +01:00

Don't check title on first run

This commit is contained in:
Zrips 2016-08-04 16:22:10 +03:00
parent 6344fc0d6b
commit 940115ef71

View File

@ -143,8 +143,7 @@ public class TitleManager {
ChatColor.matchColor(c.get("Titles.Legendary.ChatColour", "BLACK")),
c.get("Titles.Legendary.levelReq", 200),
null));
}
} else
for (String titleKey : titleSection.getKeys(false)) {
String jobName = null;
String titleName = titleSection.getString(titleKey + ".Name");
@ -166,7 +165,7 @@ public class TitleManager {
continue;
}
if (titleColor == null) {
Jobs.getPluginLogger().severe("Title " + titleKey + "has an invalid ChatColour property. Skipping!");
Jobs.getPluginLogger().severe("Title " + titleKey + " has an invalid ChatColour property. Skipping!");
continue;
}
if (levelReq <= -1) {