Skip to content

Commit

Permalink
fix itemid in networkmessage
Browse files Browse the repository at this point in the history
  • Loading branch information
MillhioreBT committed Apr 28, 2024
1 parent 775806e commit e365292
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/networkmessage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit e365292

Please sign in to comment.