diff options
author | Mattes D <github@xoft.cz> | 2023-06-19 16:37:51 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2023-06-19 16:37:51 +0200 |
commit | 17209440f9ddfb4555788a26b906307265b2bd06 (patch) | |
tree | 72cd114ade9906df5e625064a2acd377bd30ff2b /src | |
parent | Replaced hand-escaped JSON (#5508) (diff) | |
download | cuberite-17209440f9ddfb4555788a26b906307265b2bd06.tar cuberite-17209440f9ddfb4555788a26b906307265b2bd06.tar.gz cuberite-17209440f9ddfb4555788a26b906307265b2bd06.tar.bz2 cuberite-17209440f9ddfb4555788a26b906307265b2bd06.tar.lz cuberite-17209440f9ddfb4555788a26b906307265b2bd06.tar.xz cuberite-17209440f9ddfb4555788a26b906307265b2bd06.tar.zst cuberite-17209440f9ddfb4555788a26b906307265b2bd06.zip |
Diffstat (limited to '')
-rw-r--r-- | src/BlockType.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/BlockType.cpp b/src/BlockType.cpp index 40bb00f95..9942c455a 100644 --- a/src/BlockType.cpp +++ b/src/BlockType.cpp @@ -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); } |