private bool IsPlayerAtRightHeightForType(SkyEntityType type, Player plr) { return(type == SkyEntityType.Hellbats ? AmbienceServer.IsPlayerInAPlaceWhereTheyCanSeeAmbienceHell(plr) : AmbienceServer.IsPlayerInAPlaceWhereTheyCanSeeAmbienceSky(plr)); }
private static bool IsPlayerInAPlaceWhereTheyCanSeeAmbience(Player plr) { return(AmbienceServer.IsPlayerInAPlaceWhereTheyCanSeeAmbienceSky(plr) || AmbienceServer.IsPlayerInAPlaceWhereTheyCanSeeAmbienceHell(plr)); }