Fix npc handler

The npc system should be rewritten sometime.
Use uint16_t instead of uint32_t for runeId