Fixed duplicate command running and added support for requireInventorySlot
Merge