sync
This commit is contained in:
parent
e2740b6a36
commit
2c5933d402
2 changed files with 29 additions and 28 deletions
|
|
@ -617,8 +617,9 @@ namespace TShockAPI
|
|||
|
||||
public static void TrySendingItemArray(int plr, Item[] array, int slotStartIndex,int remoteClient = -1, int ignoreClient = -1)
|
||||
{
|
||||
|
||||
for (int index = 0; index < array.Length; ++index)
|
||||
NetMessage.TrySendData(5, number: plr, number2: (float) (slotStartIndex + index));
|
||||
NetMessage.TrySendData(5, number: plr, number2: (float) (slotStartIndex + index),remoteClient: remoteClient, ignoreClient: ignoreClient);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue