From 1d131a0c33ade8b616e54cb301cd9953b9d0f743 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Tue, 15 Dec 2015 21:00:06 +0000 Subject: [PATCH] make parcel bans do something on vehicles. Just a first code, far from good --- OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs b/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs index e9a6abb2e8..7b4c7243da 100644 --- a/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs +++ b/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs @@ -358,7 +358,8 @@ namespace OpenSim.Region.CoreModules.World.Land avatar.AbsolutePosition = position.Value; avatar.lastKnownAllowedPosition = position.Value; avatar.Velocity = Vector3.Zero; - + if(avatar.IsSatOnObject) + avatar.StandUp(); } public void SendYouAreRestrictedNotice(ScenePresence avatar)