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

This commit is contained in:
Cekis
2018-03-23 15:59:48 -07:00
committed by CekisSWG
parent 780543540e
commit 080bf87c16
@@ -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;