diff --git a/sku.0/sys.server/compiled/game/script/item/comestible/medicine.java b/sku.0/sys.server/compiled/game/script/item/comestible/medicine.java old mode 100644 new mode 100755 index 71fb64ffd..c03dbbc65 --- a/sku.0/sys.server/compiled/game/script/item/comestible/medicine.java +++ b/sku.0/sys.server/compiled/game/script/item/comestible/medicine.java @@ -286,6 +286,10 @@ public class medicine extends script.base_script else if (item == menu_info_types.EXAMINE) { String template = getTemplateName(self); + if(template == null){ + LOG("medicine","Unable to get template name from item (" + item + ") with object id (" + self + ") and name (" + getName(self) + ") while examining."); + return SCRIPT_CONTINUE; + } String id = template.substring(template.lastIndexOf("/") + 1, template.lastIndexOf(".")); String title = "@food_name:" + id; String prompt = "Select USE from the radial menu options to apply the following attribute modifiers to your target.";