Check whether block exists in getBlockMaterial

Fixes FallenMoonNetwork/CanaryLib#148