From 624d11de4ef4b88f6ac2d8310b875092830e3997 Mon Sep 17 00:00:00 2001 From: Kinglykrab <89047260+Kinglykrab@users.noreply.github.com> Date: Sun, 24 Oct 2021 17:03:24 -0400 Subject: [PATCH] [Bug Fix] Fix missing format in client message. (#1637) --- zone/inventory.cpp | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/zone/inventory.cpp b/zone/inventory.cpp index d6c3c5e79..bc79d7c43 100644 --- a/zone/inventory.cpp +++ b/zone/inventory.cpp @@ -385,12 +385,14 @@ bool Client::SummonItem(uint32 item_id, int16 charges, uint32 aug1, uint32 aug2, if(item->AugSlotVisible[iter] == 0) { Message( Chat::Red, - "{} ({}) has not evolved enough to accept {} ({}) in Augment Slot {}.", - database.CreateItemLink(item->ID), - item->ID, - database.CreateItemLink(augments[iter]), - augments[iter], - augment_slot + fmt::format( + "{} ({}) has not evolved enough to accept {} ({}) in Augment Slot {}.", + database.CreateItemLink(item->ID), + item->ID, + database.CreateItemLink(augments[iter]), + augments[iter], + augment_slot + ).c_str() ); LogInventory( "Player [{}] on account [{}] attempted to augment an unevolved item with augment type (Aug[{}]).\n"