Fixed NPE when looking at blocks with no associated item