* Fix Groups Module Null Reference when you were not a member of any group.
parent
7317bd7675
commit
5ae1ad995d
|
@ -9791,9 +9791,10 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||||
Group.GroupName = Utils.StringToBytes(GroupMembership[i].GroupName);
|
Group.GroupName = Utils.StringToBytes(GroupMembership[i].GroupName);
|
||||||
Group.GroupPowers = GroupMembership[i].GroupPowers;
|
Group.GroupPowers = GroupMembership[i].GroupPowers;
|
||||||
Groups[i] = Group;
|
Groups[i] = Group;
|
||||||
Groupupdate.GroupData = Groups;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Groupupdate.GroupData = Groups;
|
||||||
Groupupdate.AgentData = new AgentGroupDataUpdatePacket.AgentDataBlock();
|
Groupupdate.AgentData = new AgentGroupDataUpdatePacket.AgentDataBlock();
|
||||||
Groupupdate.AgentData.AgentID = AgentId;
|
Groupupdate.AgentData.AgentID = AgentId;
|
||||||
OutPacket(Groupupdate, ThrottleOutPacketType.Task);
|
OutPacket(Groupupdate, ThrottleOutPacketType.Task);
|
||||||
|
|
Loading…
Reference in New Issue