mirror of
https://git.neolegacy.dev/neoStudiosLCE/neoLegacy.git
synced 2026-11-23 03:06:29 +01:00
fix: achievements (2)
Make menu more accurate Add Achievements option to Main Menu Force achievements to save when saving the level Fix a random crash i was getting
This commit is contained in:
1 parent
ae5a86d082
commit
57de83add1
7 files changed
+25
-9
No files matched your search
@@ -11,6 +11,7 @@
|
||||
#include "LevelData.h"
|
||||
#include "DirectoryLevelStorage.h"
|
||||
#include "ConsoleSaveFileIO.h"
|
||||
#include "../Minecraft.Client/Minecraft.h"
|
||||
|
||||
const wstring DirectoryLevelStorage::sc_szPlayerDir(L"players/");
|
||||
|
||||
@@ -391,6 +392,7 @@ void DirectoryLevelStorage::save(shared_ptr<Player> player)
|
||||
if( playerXuid != INVALID_XUID && !player->isGuest() )
|
||||
#endif
|
||||
{
|
||||
Minecraft::GetInstance()->forceStatsSave(player->getPlayerIndex());
|
||||
CompoundTag *tag = new CompoundTag();
|
||||
player->saveWithoutId(tag);
|
||||
#if defined(__PS3__) || defined(__ORBIS__) || defined(__PSVITA__)
|
||||
|
||||
Reference in new issue
Block a user