Fixed versions and fixed NPE because of null player inventory

Signed-off-by: Irmo van den Berge <bergerkiller@gmail.com>