Fix inventory methods in Player.java