This commit is contained in:
aozhiwei 2024-01-08 14:13:16 +08:00
parent 9d4cc0b2fe
commit 237a10e9bf
2 changed files with 3 additions and 1 deletions

View File

@ -1181,7 +1181,8 @@ bool Bullet::IsClientHook()
if (!sender.Get()->IsPlayer()) {
return false;
}
if (sender.Get()->GetNetData()->join_msg->proto_version() < 2023121501) {
if (sender.Get()->GetNetData()->join_msg->proto_version() > 0 &&
sender.Get()->GetNetData()->join_msg->proto_version() < 2023121501) {
return false;
} else {
return true;

View File

@ -18,6 +18,7 @@ enum CreatureStatus
CS_Reviving,
CS_DisableAttackAndroid,
CS_NoDie,
CS_NoHpChgNotify,
CS_End
};