From e365292b0d07dbc9ec81535bbd43ded48dbe7469 Mon Sep 17 00:00:00 2001 From: Sarah Wesker Date: Sun, 28 Apr 2024 12:21:31 -0400 Subject: [PATCH] fix itemid in networkmessage --- src/networkmessage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/networkmessage.cpp b/src/networkmessage.cpp index 2f54881..1fdf80d 100644 --- a/src/networkmessage.cpp +++ b/src/networkmessage.cpp @@ -84,7 +84,7 @@ void NetworkMessage::addItemId(uint16_t itemId, const bool isOTCv8) { const ItemType& it = Item::items[itemId]; uint16_t clientId = it.clientId; - if (isOTCv8 && itemId > 12660) { + if (!isOTCv8 && itemId > 12660) { clientId = it.stackable ? 3031 : 105; }