Added extra check to storyteller token if template cannot be identified that returns normal difficulty for the token difficulty level

This commit is contained in:
Cekis
2018-03-23 16:03:19 -07:00
committed by CekisSWG
parent 2c9afd2213
commit 41df1c45c0
@@ -106,7 +106,7 @@ public class npc_difficulty_token extends script.base_script
{
String staticName = getStaticItemName(token);
String difficulty = "normal";
if (staticName.equals("st_o_elite_maker"))
if (staticName && staticName.equals("st_o_elite_maker"))
{
difficulty = "elite";
}