Skip to content
This repository was archived by the owner on Mar 8, 2025. It is now read-only.

Commit

Permalink
fix to deal with HERO's Mod Admin issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ACaiCat committed Dec 8, 2024
1 parent 1d466bf commit fd84ca1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CaiBotMod/Common/Packet.cs
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ public override bool HijackGetData(ref byte messageType, ref BinaryReader Reader
{
var id = ModNet.NetModCount < 256 ? reader.ReadByte() : reader.ReadInt16();

if (ModNet.GetMod(id)?.DisplayName == "SSC - 云存档")
if (ModNet.GetMod(id)?.DisplayName == "SSC - 云存档" || ModNet.GetMod(id)?.DisplayName == "HERO's Mod")
{
break;
}
Expand Down

0 comments on commit fd84ca1

Please sign in to comment.