mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
This does NOT address the issue in mantis #3940, but it may avoid the exception reported there by WiLLuMPJuH Huisman pertaining to TeleportFailedPacket.
This commit is contained in:
@@ -1750,6 +1750,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||
TeleportFailedPacket tpFailed = (TeleportFailedPacket)PacketPool.Instance.GetPacket(PacketType.TeleportFailed);
|
||||
tpFailed.Info.AgentID = AgentId;
|
||||
tpFailed.Info.Reason = Utils.StringToBytes(reason);
|
||||
tpFailed.AlertInfo = new TeleportFailedPacket.AlertInfoBlock[0];
|
||||
|
||||
// Hack to get this out immediately and skip throttles
|
||||
OutPacket(tpFailed, ThrottleOutPacketType.Unknown);
|
||||
|
||||
Reference in New Issue
Block a user