aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/FireworksItem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.World/FireworksItem.cpp')
-rw-r--r--Minecraft.World/FireworksItem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Minecraft.World/FireworksItem.cpp b/Minecraft.World/FireworksItem.cpp
index 045ea130..f81b4588 100644
--- a/Minecraft.World/FireworksItem.cpp
+++ b/Minecraft.World/FireworksItem.cpp
@@ -52,7 +52,7 @@ void FireworksItem::appendHoverText(shared_ptr<ItemInstance> itemInstance, share
}
if (fireTag->contains(TAG_FLIGHT))
{
- lines->push_back(wstring(app.GetString(IDS_ITEM_FIREWORKS_FLIGHT)) + L" " + _toString<int>((fireTag->getByte(TAG_FLIGHT))));
+ lines->push_back(wstring(app.GetString(IDS_ITEM_FIREWORKS_FLIGHT)) + L" " + std::to_wstring((fireTag->getByte(TAG_FLIGHT))));
}
ListTag<CompoundTag> *explosions = (ListTag<CompoundTag> *) fireTag->getList(TAG_EXPLOSIONS);