From 0dc6931b603fac1cffdc2b7111c2c5a7b9d4ab0c Mon Sep 17 00:00:00 2001 From: ShrBox Date: Sun, 12 Jan 2025 10:42:51 +0800 Subject: [PATCH] refactor: delete version in motd (cherry picked from commit 69ec9f62c955e2f1564c51d423dc484eaefb3b4a) --- src/ll/core/tweak/ModifyInfomation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ll/core/tweak/ModifyInfomation.cpp b/src/ll/core/tweak/ModifyInfomation.cpp index 63efb74451..523dd80906 100644 --- a/src/ll/core/tweak/ModifyInfomation.cpp +++ b/src/ll/core/tweak/ModifyInfomation.cpp @@ -141,7 +141,7 @@ LL_TYPE_INSTANCE_HOOK( ) { std::string_view dataView{data, dataSize}; if (dataView.contains("MCPE;")) { - auto modified = fmt::format("{}LeviLamina;{};", dataView, getLoaderVersion().to_string()); + auto modified = fmt::format("{}LeviLamina;", dataView); return origin(modified.c_str(), (uint)modified.size()); } return origin(data, dataSize);