summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2023-06-19 16:37:51 +0200
committerMattes D <github@xoft.cz>2023-06-21 12:08:14 +0200
commit7e83dd073e0bc322b975df66d061a6f7fe059bf1 (patch)
tree72cd114ade9906df5e625064a2acd377bd30ff2b
parentReplaced hand-escaped JSON (#5508) (diff)
downloadcuberite-7e83dd073e0bc322b975df66d061a6f7fe059bf1.tar
cuberite-7e83dd073e0bc322b975df66d061a6f7fe059bf1.tar.gz
cuberite-7e83dd073e0bc322b975df66d061a6f7fe059bf1.tar.bz2
cuberite-7e83dd073e0bc322b975df66d061a6f7fe059bf1.tar.lz
cuberite-7e83dd073e0bc322b975df66d061a6f7fe059bf1.tar.xz
cuberite-7e83dd073e0bc322b975df66d061a6f7fe059bf1.tar.zst
cuberite-7e83dd073e0bc322b975df66d061a6f7fe059bf1.zip
-rw-r--r--src/BlockType.cpp2
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);
}