missed new c# version only code
parent
0f1bc23039
commit
57ae99b113
|
@ -2139,7 +2139,8 @@ namespace OpenSim.Region.CoreModules.World.Land
|
||||||
|
|
||||||
public void ClientOnParcelGodMark(IClientAPI client, UUID god, int landID)
|
public void ClientOnParcelGodMark(IClientAPI client, UUID god, int landID)
|
||||||
{
|
{
|
||||||
((Scene)client.Scene).TryGetScenePresence(client.AgentId, out ScenePresence sp);
|
ScenePresence sp = null;
|
||||||
|
((Scene)client.Scene).TryGetScenePresence(client.AgentId, out sp);
|
||||||
if (sp == null)
|
if (sp == null)
|
||||||
return;
|
return;
|
||||||
if (sp.IsChildAgent || sp.IsDeleted || sp.IsInTransit || sp.IsNPC)
|
if (sp.IsChildAgent || sp.IsDeleted || sp.IsInTransit || sp.IsNPC)
|
||||||
|
|
Loading…
Reference in New Issue