diff --git a/OpenSim/Data/NHibernate/NHibernateRegionData.cs b/OpenSim/Data/NHibernate/NHibernateRegionData.cs index 9d6409eee5..9dee95cee5 100644 --- a/OpenSim/Data/NHibernate/NHibernateRegionData.cs +++ b/OpenSim/Data/NHibernate/NHibernateRegionData.cs @@ -298,7 +298,7 @@ namespace OpenSim.Data.NHibernate Terrain t = session.Load(typeof(Terrain), regionID) as Terrain; return t.Doubles; } - catch (NHibernate.ObjectNotFoundException e) + catch (ObjectNotFoundException e) { m_log.Info("No terrain yet"); return null;