Skip to content
Snippets Groups Projects
Commit 6e62cad3 authored by Adry_85's avatar Adry_85
Browse files

BETA: Fixed bug in warpgate code that reset hellbound to level 1.

	Patch by: malyelfik
	Reported by: !CostyKiller, Sdw
	Reviewed by: Adry_85, jurchiks
parent ee5fc6de
No related branches found
No related tags found
No related merge requests found
...@@ -88,7 +88,10 @@ public final class Warpgate extends AbstractNpcAI ...@@ -88,7 +88,10 @@ public final class Warpgate extends AbstractNpcAI
} }
player.teleToLocation(HELLBOUND, true); player.teleToLocation(HELLBOUND, true);
HellboundEngine.getInstance().setLevel(1); if (HellboundEngine.getInstance().getLevel() == 0)
{
HellboundEngine.getInstance().setLevel(1);
}
return null; return null;
} }
......
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