chore: remove debug log

This commit is contained in:
2026-06-21 12:58:17 +08:00
Unverified
parent 6f99dfe9b2
commit 73038c8bde
2 changed files with 0 additions and 11 deletions
-2
View File
@@ -87,8 +87,6 @@ DeathMessageResult makeDeathMessage(
}
if (!DeathMessages::Entry::getInstance().isResourceI18nLoaded) {
res.first=tr(res.first, res.second);
logger->info("原消息name为 {}", res.first);
res.second = {};
}
return res;
-9
View File
@@ -79,16 +79,10 @@ LL_AUTO_TYPE_INSTANCE_HOOK(
HookPriority::Lowest,
ActorDamageSource,
&ActorDamageSource::$getDeathMessage,
DeathMessageResult,
std::string a1,
Actor* a2
) {
auto originl = origin(a1, a2);
auto res = translateDeathMessage(originl, a1, a2, this);
return res;
@@ -113,7 +107,6 @@ LL_AUTO_TYPE_INSTANCE_HOOK(
HookPriority::Lowest,
ActorDamageByBlockSource,
&ActorDamageByBlockSource::$getDeathMessage,
DeathMessageResult,
std::string a1,
Actor* a2
@@ -128,8 +121,6 @@ LL_AUTO_TYPE_INSTANCE_HOOK(
HookPriority::Lowest,
ActorDamageByChildActorSource,
&ActorDamageByChildActorSource::$getDeathMessage,
DeathMessageResult,
std::string a1,
Actor* a2