dont try to get objekt

master
Christopher 2020-07-08 01:39:11 +02:00
parent bd9124da1f
commit a9f5e997ad
1 changed files with 9 additions and 16 deletions

View File

@ -67,11 +67,7 @@ namespace OpenSim.Modules.DataValue.Storage
private string getFilePath(String host, String index)
{
SceneObjectGroup _host = m_scene.GetSceneObjectGroup(host);
if (_host != null)
{
string _nameSpace = _host.GroupID.ToString().Trim().ToUpper().Replace("-", "");
string _nameSpace = host.Trim().ToUpper().Replace("-", "");
if (!Directory.Exists(m_dataValueDirectory))
Directory.CreateDirectory(m_dataValueDirectory);
@ -86,8 +82,5 @@ namespace OpenSim.Modules.DataValue.Storage
return m_dataValueDirectory + "/" + _nameSpace + "/" + _storageKey + ".txt";
}
return null;
}
}
}