mirror of
https://github.com/PikaMug/Quests.git
synced 2025-01-03 15:08:10 +01:00
Load redo-delay as Long, not Int
This commit is contained in:
parent
2b5beebfa2
commit
7298c490c7
@ -2624,8 +2624,8 @@ public class Quests extends JavaPlugin implements ConversationAbandonedListener,
|
||||
|
||||
if (config.contains("quests." + questName + ".redo-delay")) {
|
||||
|
||||
if (config.getInt("quests." + questName + ".redo-delay", -999) != -999) {
|
||||
quest.redoDelay = config.getInt("quests." + questName + ".redo-delay");
|
||||
if (config.getLong("quests." + questName + ".redo-delay", -999) != -999) {
|
||||
quest.redoDelay = config.getLong("quests." + questName + ".redo-delay");
|
||||
} else {
|
||||
skipQuestProcess("redo-delay: for Quest " + quest.name + " is not a number!");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user