mirror of
https://github.com/opensim/opensim.git
synced 2026-08-10 19:36:07 +08:00
only hide parcel info from banned avatars
This commit is contained in:
@@ -1292,7 +1292,7 @@ namespace OpenSim.Region.CoreModules.World.Land
|
||||
{
|
||||
if (!temp.Contains(currentParcel))
|
||||
{
|
||||
if (!currentParcel.IsEitherBannedOrRestricted(remote_client.AgentId))
|
||||
if (!currentParcel.IsBannedFromLand(remote_client.AgentId))
|
||||
{
|
||||
currentParcel.ForceUpdateLandInfo();
|
||||
temp.Add(currentParcel);
|
||||
|
||||
Reference in New Issue
Block a user