From 9871d5cee181f96a33934ec0b226272fb0bb4093 Mon Sep 17 00:00:00 2001 From: Emagi Date: Wed, 27 Aug 2025 22:12:50 -0400 Subject: [PATCH] Update client.cpp --- source/WorldServer/client.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/WorldServer/client.cpp b/source/WorldServer/client.cpp index b670159..e3724f4 100644 --- a/source/WorldServer/client.cpp +++ b/source/WorldServer/client.cpp @@ -13593,7 +13593,9 @@ bool Client::SetPetName(const char* petName) { bool Client::CheckConsumptionAllowed(int16 slot, bool send_message) { if(!GetPlayer()->Alive()) { - Message(CHANNEL_NARRATIVE, "You cannot consume while dead!"); + if(send_message) { + Message(CHANNEL_NARRATIVE, "You cannot consume while dead!"); + } return false; } switch (slot) {