mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 22:26:09 +08:00
Cosmetics, unnecessary strings
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
This commit is contained in:
committed by
UbitUmarov
parent
154637b244
commit
67e7dbc2e2
@@ -1776,20 +1776,18 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
|
||||
public void osParcelSetDetails(LSL_Vector pos, LSL_List rules)
|
||||
{
|
||||
const string functionName = "osParcelSetDetails";
|
||||
CheckThreatLevel(ThreatLevel.High, functionName);
|
||||
OSSLDeprecated(functionName, "osSetParcelDetails");
|
||||
SetParcelDetails(pos, rules, functionName);
|
||||
CheckThreatLevel(ThreatLevel.High, "osParcelSetDetails");
|
||||
OSSLDeprecated("osParcelSetDetails", "osSetParcelDetails");
|
||||
SetParcelDetails(pos, rules);
|
||||
}
|
||||
|
||||
public void osSetParcelDetails(LSL_Vector pos, LSL_List rules)
|
||||
{
|
||||
const string functionName = "osSetParcelDetails";
|
||||
CheckThreatLevel(ThreatLevel.High, functionName);
|
||||
SetParcelDetails(pos, rules, functionName);
|
||||
CheckThreatLevel(ThreatLevel.High, "osSetParcelDetails");
|
||||
SetParcelDetails(pos, rules);
|
||||
}
|
||||
|
||||
private void SetParcelDetails(LSL_Vector pos, LSL_List rules, string functionName)
|
||||
private void SetParcelDetails(LSL_Vector pos, LSL_List rules)
|
||||
{
|
||||
// Get a reference to the land data and make sure the owner of the script
|
||||
// can modify it
|
||||
|
||||
Reference in New Issue
Block a user