Skip to content
Snippets Groups Projects
Commit 62473e4d authored by Rumen Nikiforov's avatar Rumen Nikiforov
Browse files

BETA: Fixing NPE in Tower of Naia.

	* Reported by: nBd
parent 070886ee
No related branches found
No related tags found
No related merge requests found
......@@ -980,8 +980,11 @@ public class TowerOfNaia extends Quest
if ((_lock == null) || (_lock.getCurrentHp() > (_lock.getMaxHp() / 10)))
{
htmltext = null;
_lock.deleteMe();
_lock = null;
if (_lock != null)
{
_lock.deleteMe();
_lock = null;
}
cancelQuestTimers("spawn_lock");
startQuestTimer("spawn_lock", 300000, null, null);
npc.setTarget(player);
......
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