[12730] Updated SpellTemplatedstfmt format, should fix possible crashes, thanks @salja2012 for pointing