This commit is contained in:
Cai 2026-01-28 19:20:20 +08:00
parent e2740b6a36
commit 2c5933d402
No known key found for this signature in database
GPG key ID: 7D738D40768F4D11
2 changed files with 29 additions and 28 deletions

View file

@ -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);
}
}
}