From 59f02218d8098f68d2e9a27bedaa7c37ec3de98d Mon Sep 17 00:00:00 2001 From: Qiuzhizhe <42761326+quizhizhe@users.noreply.github.com> Date: Sat, 29 Oct 2022 01:06:45 -0700 Subject: [PATCH] Add PropertiesSettings::getLevelName --- LiteLoader/Header/MC/PropertiesSettings.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/LiteLoader/Header/MC/PropertiesSettings.hpp b/LiteLoader/Header/MC/PropertiesSettings.hpp index 3a99e1a..1c941a3 100644 --- a/LiteLoader/Header/MC/PropertiesSettings.hpp +++ b/LiteLoader/Header/MC/PropertiesSettings.hpp @@ -15,6 +15,10 @@ public: //PropertiesSettings::PropertiesSettings Line550; return dAccess(this, 417); } + inline std::string getLevelName(){ + //PropertiesSettings::PropertiesSettings Line518 + return dAccess(this,32); + } #undef AFTER_EXTRA #ifndef DISABLE_CONSTRUCTOR_PREVENTION_PROPERTIESSETTINGS public: