mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 02:37:27 +00:00
Added config for how often a player's quests are checked for completion.
This commit is contained in:
1 parent
70536de655
commit
d3145f4868
2 files changed
+7
-1
No files matched your search
@@ -78,7 +78,7 @@ public class ScriptPlayerEventHandler {
|
||||
playerData.timers.update();
|
||||
}
|
||||
|
||||
if(player.ticksExisted%40 == 0){
|
||||
if(player.ticksExisted%(20*CustomNpcs.PlayerQuestCheck) == 0){
|
||||
PlayerQuestData questData = playerData.questData;
|
||||
for(EnumQuestType e : EnumQuestType.values())
|
||||
questData.checkQuestCompletion(playerData, e);
|
||||
|
||||
Reference in new issue
Block a user