Change the weapons that CustomNPCs have after spawning.

Currently, after spawning, it was not possible to change the weapon by setting it with the ItemGranter device and ClassDesigner and adapting the class with the ClassSelector device.