mirror of
https://github.com/opensim/opensim.git
synced 2026-08-10 03:06:05 +08:00
missed new c# version only code
This commit is contained in:
@@ -2139,7 +2139,8 @@ namespace OpenSim.Region.CoreModules.World.Land
|
||||
|
||||
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)
|
||||
return;
|
||||
if (sp.IsChildAgent || sp.IsDeleted || sp.IsInTransit || sp.IsNPC)
|
||||
|
||||
Reference in New Issue
Block a user