Fixed compile issues.

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