Check the block can be cast to a chest before accessing, prevents unloaded chunk error.