Fix double right clicking crates.
1) It was not figuring out what to do when holding nothing. 2) It was returning prematurely when searching player inventory
Merge pull request #26 from nekojess/crate-fix

Fix double right clicking crates.