mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-07-09 10:38:14 +00:00
refactor: unglob std::wstring
This commit is contained in:
@@ -565,7 +565,7 @@ void ItemRenderer::renderGuiItemDecorations(Font *font, Textures *textures, std:
|
||||
renderGuiItemDecorations(font, textures, item, x, y, L"", fAlpha);
|
||||
}
|
||||
|
||||
void ItemRenderer::renderGuiItemDecorations(Font *font, Textures *textures, std::shared_ptr<ItemInstance> item, int x, int y, const wstring &countText, float fAlpha)
|
||||
void ItemRenderer::renderGuiItemDecorations(Font *font, Textures *textures, std::shared_ptr<ItemInstance> item, int x, int y, const std::wstring &countText, float fAlpha)
|
||||
{
|
||||
if (item == NULL)
|
||||
{
|
||||
@@ -578,7 +578,7 @@ void ItemRenderer::renderGuiItemDecorations(Font *font, Textures *textures, std:
|
||||
if (item->count > 1 || !countText.empty() || item->GetForceNumberDisplay())
|
||||
{
|
||||
MemSect(31);
|
||||
wstring amount = countText;
|
||||
std::wstring amount = countText;
|
||||
if(amount.empty())
|
||||
{
|
||||
int count = item->count;
|
||||
|
||||
Reference in New Issue
Block a user