mirror of
https://github.com/SWG-Source/dsrc.git
synced 2026-08-01 01:15:59 -04:00
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:
Regular → Executable
+1
-1
@@ -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";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user