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) { if (!DeathMessages::Entry::getInstance().isResourceI18nLoaded) {
res.first=tr(res.first, res.second); res.first=tr(res.first, res.second);
logger->info("原消息name为 {}", res.first);
res.second = {}; res.second = {};
} }
return res; return res;
-9
View File
@@ -79,16 +79,10 @@ LL_AUTO_TYPE_INSTANCE_HOOK(
HookPriority::Lowest, HookPriority::Lowest,
ActorDamageSource, ActorDamageSource,
&ActorDamageSource::$getDeathMessage, &ActorDamageSource::$getDeathMessage,
DeathMessageResult, DeathMessageResult,
std::string a1, std::string a1,
Actor* a2 Actor* a2
) { ) {
auto originl = origin(a1, a2); auto originl = origin(a1, a2);
auto res = translateDeathMessage(originl, a1, a2, this); auto res = translateDeathMessage(originl, a1, a2, this);
return res; return res;
@@ -113,7 +107,6 @@ LL_AUTO_TYPE_INSTANCE_HOOK(
HookPriority::Lowest, HookPriority::Lowest,
ActorDamageByBlockSource, ActorDamageByBlockSource,
&ActorDamageByBlockSource::$getDeathMessage, &ActorDamageByBlockSource::$getDeathMessage,
DeathMessageResult, DeathMessageResult,
std::string a1, std::string a1,
Actor* a2 Actor* a2
@@ -128,8 +121,6 @@ LL_AUTO_TYPE_INSTANCE_HOOK(
HookPriority::Lowest, HookPriority::Lowest,
ActorDamageByChildActorSource, ActorDamageByChildActorSource,
&ActorDamageByChildActorSource::$getDeathMessage, &ActorDamageByChildActorSource::$getDeathMessage,
DeathMessageResult, DeathMessageResult,
std::string a1, std::string a1,
Actor* a2 Actor* a2