Skip to content
Snippets Groups Projects
Commit cd175d34 authored by Zoey76's avatar Zoey76
Browse files

BETA: Configuration option to allow access to Hellbound without quests.

Patch by: St3eT
parent bbd48e42
No related branches found
No related tags found
No related merge requests found
...@@ -22,6 +22,7 @@ import quests.Q00130_PathToHellbound.Q00130_PathToHellbound; ...@@ -22,6 +22,7 @@ import quests.Q00130_PathToHellbound.Q00130_PathToHellbound;
import quests.Q00133_ThatsBloodyHot.Q00133_ThatsBloodyHot; import quests.Q00133_ThatsBloodyHot.Q00133_ThatsBloodyHot;
import ai.npc.AbstractNpcAI; import ai.npc.AbstractNpcAI;
import com.l2jserver.Config;
import com.l2jserver.gameserver.ThreadPoolManager; import com.l2jserver.gameserver.ThreadPoolManager;
import com.l2jserver.gameserver.instancemanager.HellboundManager; import com.l2jserver.gameserver.instancemanager.HellboundManager;
import com.l2jserver.gameserver.model.PcCondOverride; import com.l2jserver.gameserver.model.PcCondOverride;
...@@ -58,6 +59,11 @@ public class Warpgate extends AbstractNpcAI ...@@ -58,6 +59,11 @@ public class Warpgate extends AbstractNpcAI
return false; return false;
} }
if (Config.HELLBOUND_WITHOUT_QUEST)
{
return true;
}
QuestState st; QuestState st;
if (!HellboundManager.getInstance().isLocked()) if (!HellboundManager.getInstance().isLocked())
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment