mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
use array.Empty<byte>
This commit is contained in:
@@ -208,7 +208,7 @@ namespace OpenSim.Region.OptionalModules.World.NPC
|
||||
OnInstantMessage(this, new GridInstantMessage(m_scene,
|
||||
m_uuid, m_firstname + " " + m_lastname,
|
||||
target, 0, false, message,
|
||||
UUID.Zero, false, Position, new byte[0], true));
|
||||
UUID.Zero, false, Position, Array.Empty<byte>(), true));
|
||||
}
|
||||
|
||||
public void SendAgentOffline(UUID[] agentIDs)
|
||||
@@ -705,7 +705,7 @@ namespace OpenSim.Region.OptionalModules.World.NPC
|
||||
}
|
||||
public byte[] GetThrottlesPacked(float multiplier)
|
||||
{
|
||||
return new byte[0];
|
||||
return Array.Empty<byte>();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user