Skip to content

Commit

Permalink
Fixed a wrong format string.
Browse files Browse the repository at this point in the history
Thanks to dyexlzc for noticing.
  • Loading branch information
madmaxoft committed Jun 21, 2023
1 parent 4fe144d commit 7e83dd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/BlockType.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ AString ItemTypeToString(short a_ItemType)

AString ItemToFullString(const cItem & a_Item)
{
return fmt::format(FMT_STRING("{}:{} * {}"), ItemToString(a_Item), a_Item.m_ItemDamage, a_Item.m_ItemCount);
return fmt::format(FMT_STRING("{}:{} * {:d}"), ItemToString(a_Item), a_Item.m_ItemDamage, a_Item.m_ItemCount);
}


Expand Down

0 comments on commit 7e83dd0

Please sign in to comment.