mirror of
https://github.com/PikaMug/Quests.git
synced 2025-01-05 07:57:45 +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.contains("quests." + questName + ".redo-delay")) {
|
||||||
|
|
||||||
if (config.getInt("quests." + questName + ".redo-delay", -999) != -999) {
|
if (config.getLong("quests." + questName + ".redo-delay", -999) != -999) {
|
||||||
quest.redoDelay = config.getInt("quests." + questName + ".redo-delay");
|
quest.redoDelay = config.getLong("quests." + questName + ".redo-delay");
|
||||||
} else {
|
} else {
|
||||||
skipQuestProcess("redo-delay: for Quest " + quest.name + " is not a number!");
|
skipQuestProcess("redo-delay: for Quest " + quest.name + " is not a number!");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user