Bugs fix for “ClickWindow“ packet

This commit is contained in:
BruceChen 2022-07-25 01:13:41 +08:00
parent 59ed18bb40
commit 86dfd60d07
5 changed files with 67 additions and 31 deletions

View file

@ -272,7 +272,8 @@ namespace MinecraftClient.Protocol
/// <param name="inventoryID">Window ID</param>
/// <param name="slotID">Slot ID</param>
/// <param name="item">Item (may be null for empty slot)</param>
void OnSetSlot(byte inventoryID, short slotID, Item item);
/// <param name="stateId">State ID</param>
void OnSetSlot(byte inventoryID, short slotID, Item item, int stateId);
/// <summary>
/// Called when player health or hunger changed.