Update client.cpp

This commit is contained in:
Emagi 2025-08-27 22:12:50 -04:00
parent 4286879e08
commit 9871d5cee1

View File

@ -13593,7 +13593,9 @@ bool Client::SetPetName(const char* petName) {
bool Client::CheckConsumptionAllowed(int16 slot, bool send_message) {
if(!GetPlayer()->Alive()) {
if(send_message) {
Message(CHANNEL_NARRATIVE, "You cannot consume while dead!");
}
return false;
}
switch (slot) {