[Bug Fix] Fix missing format in client message. (#1637)

This commit is contained in:
Kinglykrab 2021-10-24 17:03:24 -04:00 committed by GitHub
parent 5eb95a95d0
commit 624d11de4e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -385,12 +385,14 @@ bool Client::SummonItem(uint32 item_id, int16 charges, uint32 aug1, uint32 aug2,
if(item->AugSlotVisible[iter] == 0) { if(item->AugSlotVisible[iter] == 0) {
Message( Message(
Chat::Red, Chat::Red,
fmt::format(
"{} ({}) has not evolved enough to accept {} ({}) in Augment Slot {}.", "{} ({}) has not evolved enough to accept {} ({}) in Augment Slot {}.",
database.CreateItemLink(item->ID), database.CreateItemLink(item->ID),
item->ID, item->ID,
database.CreateItemLink(augments[iter]), database.CreateItemLink(augments[iter]),
augments[iter], augments[iter],
augment_slot augment_slot
).c_str()
); );
LogInventory( LogInventory(
"Player [{}] on account [{}] attempted to augment an unevolved item with augment type (Aug[{}]).\n" "Player [{}] on account [{}] attempted to augment an unevolved item with augment type (Aug[{}]).\n"