Added debug statements for loading quests
This commit is contained in:
@@ -52,6 +52,8 @@ public class QuestsConfig extends AbstractConfig {
|
|||||||
configurationSection.getStringList(key + ".done-pages"),
|
configurationSection.getStringList(key + ".done-pages"),
|
||||||
configurationSection.getInt(key + ".amount-min"),
|
configurationSection.getInt(key + ".amount-min"),
|
||||||
configurationSection.getInt(key + ".amount-max")));
|
configurationSection.getInt(key + ".amount-max")));
|
||||||
|
if (Config.DEBUG)
|
||||||
|
Logger.info("Loaded Mine quest " + key);
|
||||||
}
|
}
|
||||||
catch (Exception e) {
|
catch (Exception e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
@@ -89,6 +91,8 @@ public class QuestsConfig extends AbstractConfig {
|
|||||||
configurationSection.getStringList(key + ".done-pages"),
|
configurationSection.getStringList(key + ".done-pages"),
|
||||||
configurationSection.getInt(key + ".amount-min"),
|
configurationSection.getInt(key + ".amount-min"),
|
||||||
configurationSection.getInt(key + ".amount-max")));
|
configurationSection.getInt(key + ".amount-max")));
|
||||||
|
if (Config.DEBUG)
|
||||||
|
Logger.info("Loaded Kill mob quest " + key);
|
||||||
}
|
}
|
||||||
catch (Exception e) {
|
catch (Exception e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
@@ -126,6 +130,8 @@ public class QuestsConfig extends AbstractConfig {
|
|||||||
configurationSection.getStringList(key + ".done-pages"),
|
configurationSection.getStringList(key + ".done-pages"),
|
||||||
configurationSection.getInt(key + ".amount-min"),
|
configurationSection.getInt(key + ".amount-min"),
|
||||||
configurationSection.getInt(key + ".amount-max")));
|
configurationSection.getInt(key + ".amount-max")));
|
||||||
|
if (Config.DEBUG)
|
||||||
|
Logger.info("Loaded Collect drops quest " + key);
|
||||||
}
|
}
|
||||||
catch (Exception e) {
|
catch (Exception e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
@@ -163,6 +169,8 @@ public class QuestsConfig extends AbstractConfig {
|
|||||||
configurationSection.getStringList(key + ".done-pages"),
|
configurationSection.getStringList(key + ".done-pages"),
|
||||||
configurationSection.getInt(key + ".amount-min"),
|
configurationSection.getInt(key + ".amount-min"),
|
||||||
configurationSection.getInt(key + ".amount-max")));
|
configurationSection.getInt(key + ".amount-max")));
|
||||||
|
if (Config.DEBUG)
|
||||||
|
Logger.info("Loaded Breed mob quest " + key);
|
||||||
}
|
}
|
||||||
catch (Exception e) {
|
catch (Exception e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
|
|||||||
Reference in New Issue
Block a user