Minecraft.World: fix another gcc moment

This commit is contained in:
ThePixelMoon 2026-03-05 07:35:18 +02:00
parent de71d80b57
commit b9c29c69d8

View file

@ -288,7 +288,7 @@ LevelData *DirectoryLevelStorage::prepareLevel()
app.DebugPrintf(" -- %d\n", playerUid);
#else
#ifdef __linux__
app.DebugPrintf(" -- %ls\n", playerUid);
app.DebugPrintf(" -- %d\n", playerUid);
#else
app.DebugPrintf(" -- %ls\n", playerUid.toString().c_str());
#endif
@ -695,7 +695,11 @@ void DirectoryLevelStorage::saveMapIdLookup()
#ifdef _WINDOWS64
app.DebugPrintf(" -- %d\n", it->first);
#else
#ifdef __linux__
app.DebugPrintf(" -- %d\n", it->first);
#else
app.DebugPrintf(" -- %ls\n", it->first.toString().c_str());
#endif
#endif
dos.writePlayerUID(it->first);
it->second.writeMappings(&dos);