Add scene name to bad parcel add logging

0.8.0.3
Justin Clark-Casey (justincc) 2014-03-06 19:12:16 +00:00
parent 58c0ed78d4
commit ddd38a3dea
1 changed files with 3 additions and 2 deletions

View File

@ -638,8 +638,9 @@ namespace OpenSim.Region.CoreModules.World.Land
if (lastRecordedLo.LandBitmap[x, y])
{
m_log.ErrorFormat(
"{0}: Cannot add parcel \"{1}\", local ID {2} at tile {3},{4} because this is still occupied by parcel \"{5}\", local ID {6}.",
LogHeader, new_land.LandData.Name, new_land.LandData.LocalID, x, y, lastRecordedLo.LandData.Name, lastRecordedLo.LandData.LocalID);
"{0}: Cannot add parcel \"{1}\", local ID {2} at tile {3},{4} because this is still occupied by parcel \"{5}\", local ID {6} in {7}",
LogHeader, new_land.LandData.Name, new_land.LandData.LocalID, x, y,
lastRecordedLo.LandData.Name, lastRecordedLo.LandData.LocalID, m_scene.Name);
return null;
}