From b6390ffa5713c1ef81ca707b009e28c406013974 Mon Sep 17 00:00:00 2001 From: lenangen94 Date: Wed, 19 Jun 2024 21:46:48 +0200 Subject: [PATCH] Revert "Reapply "fix: prevent client debug when purchase/sale statistics are missing (#2693)"" This reverts commit 873e8fba9a557215a1fef8bf223b863af834b5ce. --- src/server/network/protocol/protocolgame.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/server/network/protocol/protocolgame.cpp b/src/server/network/protocol/protocolgame.cpp index 1c40b67d6c6..8cf0660a262 100644 --- a/src/server/network/protocol/protocolgame.cpp +++ b/src/server/network/protocol/protocolgame.cpp @@ -5857,8 +5857,6 @@ void ProtocolGame::sendMarketDetail(uint16_t itemId, uint8_t tier) { msg.add(purchaseStatistics.highestPrice); msg.add(purchaseStatistics.lowestPrice); } - } else { - msg.addByte(0x00); } } else { msg.addByte(0x00); // send to old protocol ? @@ -5882,8 +5880,6 @@ void ProtocolGame::sendMarketDetail(uint16_t itemId, uint8_t tier) { msg.add(saleStatistics.highestPrice); msg.add(saleStatistics.lowestPrice); } - } else { - msg.addByte(0x00); } } else { msg.addByte(0x00); // send to old protocol ?