`sBlock` is a `Block` which will never be a `VanillaBlockMaterial`. Replace `sBlock` with `mat`.