Update BackpackDefinition.java

Fix nullPointerException on isValidItem()
Merge pull request #31 from phpr/master

Fix NPE on isValidItem