diff options
author | UbitUmarov | 2018-09-30 05:39:58 +0100 |
---|---|---|
committer | UbitUmarov | 2018-09-30 05:39:58 +0100 |
commit | 57ae99b1135e36c2924f58064ed644ea29a5ae6c (patch) | |
tree | e60cb114ae9b3a4dfeef65e4b70677c33f1165b3 /OpenSim | |
parent | a few changes to last patch (diff) | |
download | opensim-SC-57ae99b1135e36c2924f58064ed644ea29a5ae6c.zip opensim-SC-57ae99b1135e36c2924f58064ed644ea29a5ae6c.tar.gz opensim-SC-57ae99b1135e36c2924f58064ed644ea29a5ae6c.tar.bz2 opensim-SC-57ae99b1135e36c2924f58064ed644ea29a5ae6c.tar.xz |
missed new c# version only code
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs b/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs index 3c6f695..854c833 100644 --- a/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs +++ b/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs | |||
@@ -2139,7 +2139,8 @@ namespace OpenSim.Region.CoreModules.World.Land | |||
2139 | 2139 | ||
2140 | public void ClientOnParcelGodMark(IClientAPI client, UUID god, int landID) | 2140 | public void ClientOnParcelGodMark(IClientAPI client, UUID god, int landID) |
2141 | { | 2141 | { |
2142 | ((Scene)client.Scene).TryGetScenePresence(client.AgentId, out ScenePresence sp); | 2142 | ScenePresence sp = null; |
2143 | ((Scene)client.Scene).TryGetScenePresence(client.AgentId, out sp); | ||
2143 | if (sp == null) | 2144 | if (sp == null) |
2144 | return; | 2145 | return; |
2145 | if (sp.IsChildAgent || sp.IsDeleted || sp.IsInTransit || sp.IsNPC) | 2146 | if (sp.IsChildAgent || sp.IsDeleted || sp.IsInTransit || sp.IsNPC) |