Check if CraftWorld is null before grabbing block location. Fixes #1340