minor: small message adjustment and unnecessary code elimination when notifying client of no build permission
							parent
							
								
									c2b98cfd4e
								
							
						
					
					
						commit
						69fc8c4985
					
				|  | @ -938,7 +938,7 @@ namespace OpenSim.Region.CoreModules.Framework.InventoryAccess | |||
|                 ILandObject land = m_Scene.LandChannel.GetLandObject(pos.X, pos.Y); | ||||
|                 remoteClient.SendAlertMessage(string.Format( | ||||
|                     "Can't rez object '{0}' at <{1:F3}, {2:F3}, {3:F3}> on parcel '{4}' in region {5}.", | ||||
|                     item.Name, pos.X, pos.Y, pos.Z, land != null ? land.LandData.Name : "Unknow", m_Scene.RegionInfo.RegionName)); | ||||
|                     item.Name, pos.X, pos.Y, pos.Z, land != null ? land.LandData.Name : "Unknown", m_Scene.RegionInfo.RegionName)); | ||||
| 
 | ||||
|                 return false; | ||||
|             } | ||||
|  |  | |||
|  | @ -1978,7 +1978,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
|             else | ||||
|             { | ||||
|                 IClientAPI client = null; | ||||
|                 if (this.TryGetClient(ownerID, out client)) | ||||
|                 if (TryGetClient(ownerID, out client)) | ||||
|                     client.SendAlertMessage("You cannot create objects here."); | ||||
|             } | ||||
|         } | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 Justin Clark-Casey (justincc)
						Justin Clark-Casey (justincc)