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
2017-02-04 18:04:42 +00:00
parent 163d27907a
commit a171ffb269
@@ -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";
}