Fix errors from previous commit

Also disable script for npc 31282 until we find a better solution