Move NPCMaster intitialization to onEnable
thanks mcmonkey for resolving my problem