Fixed bugs with the block gate and added new features for the crafting command.