mirror of
https://github.com/opensim/opensim.git
synced 2026-05-22 00:19:03 +08:00
Deleting objects should now work. But beware they aren't send to your trash folder or anything so there is at the moment no way to recover deleted objects.
This commit is contained in:
@@ -506,12 +506,12 @@ namespace OpenSim.Region.ClientStack
|
||||
OutPacket(pc);
|
||||
}
|
||||
|
||||
public void SendKillObject(ulong regionHandle, uint avatarLocalID)
|
||||
public void SendKillObject(ulong regionHandle, uint localID)
|
||||
{
|
||||
KillObjectPacket kill = new KillObjectPacket();
|
||||
kill.ObjectData = new KillObjectPacket.ObjectDataBlock[1];
|
||||
kill.ObjectData[0] = new KillObjectPacket.ObjectDataBlock();
|
||||
kill.ObjectData[0].ID = avatarLocalID;
|
||||
kill.ObjectData[0].ID = localID;
|
||||
OutPacket(kill);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user