Casting TE to TEFloodlightBeam is now safe.

getBeamTileEntity will simply return null on mismatched TEs.