From 41df1c45c098d6f754188516ee2f4e81beb770be Mon Sep 17 00:00:00 2001 From: Cekis Date: Sat, 4 Feb 2017 18:04:42 +0000 Subject: [PATCH] Added extra check to storyteller token if template cannot be identified that returns normal difficulty for the token difficulty level --- .../game/script/systems/storyteller/npc_difficulty_token.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 sku.0/sys.server/compiled/game/script/systems/storyteller/npc_difficulty_token.java diff --git a/sku.0/sys.server/compiled/game/script/systems/storyteller/npc_difficulty_token.java b/sku.0/sys.server/compiled/game/script/systems/storyteller/npc_difficulty_token.java old mode 100644 new mode 100755 index d9a8d044d..25e175903 --- a/sku.0/sys.server/compiled/game/script/systems/storyteller/npc_difficulty_token.java +++ b/sku.0/sys.server/compiled/game/script/systems/storyteller/npc_difficulty_token.java @@ -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"; }