Fix SandBlock.java raising NullPointerException