Added logging for situation checking armor that doesn't have a template.

This commit is contained in:
Cekis
2017-01-20 20:33:37 +00:00
parent 2e00cc05b8
commit f361b4070e
@@ -308,7 +308,7 @@ public class new_armor extends script.base_script
{
String template = getTemplateName(self);
if(template == null){
LOG("DESIGNER_FATAL","Unable to check armor data for item (" + self + ") because it doesn't have a template!")
LOG("DESIGNER_FATAL","Unable to check armor data for item (" + self + ") because it doesn't have a template!");
return SCRIPT_CONTINUE;
}
String name = null;