#940: Fixed a NPE during CraftBlockEntityState#update.When the BlockState's block type was changed, #update may have removedthe TileEntity, causing #isApplicable to fail with a NPE.