Causing multiple hacking notifications?

Hello. I use the Inbound plugin, which announces when a player is hacking a crate. I had a problem where it would announce that a player was hacking the crate multiple times but the author says the Inbound pluign wouldn't cause it to show up multiple times. This is what appears in my console, and the message is sent the same number of times:

07/04 15:09:50 | [Inbound] SirOblidium is hacking a locked crate
07/04 15:09:52 | [Inbound] SirOblidium is hacking a locked crate
07/04 15:09:54 | [Inbound] SirOblidium is hacking a locked crate

Is it possible this plugin is causing that to happen? The author of the Inbound plugin responded with "As far as I know, there's nothing in the plugin itself that would cause this to happen. The hook would need to be called multiple times, and that's handled by Oxide and the server."

It should check on the next frame to see if the hackcrate has started cracking...
Because this plugin prevents the player from cracking the hackcrate in the CanHackCrate hook


        void CanHackCrate(BasePlayer player, HackableLockedCrate crate)
        {
            NextFrame(() =>
            {
                if (!configData.alerts.hackingCrate) return;
                if (player == null || crate == null) return;
                if(!crate.IsBeingHacked())return;

                var pos = crate.transform.position;

                if (configData.misc.hideCargoCrates && AtCargoShip(null, crate)) return;
                if (configData.misc.hideRigCrates && (AtLargeRig(pos) || AtSmallRig(pos))) return;

                SendMsg(Lang("HackingCrate", player.UserIDString, player.displayName, GetLocation(pos, null, crate)));

            });
        }​

 

Does that mean that it could be causing the issue?

In Inbound.cs file: Find the CanHackCrate hook and replace it with the code below...

void CanHackCrate(BasePlayer player, HackableLockedCrate crate)
{
    NextFrame(() =>
    {
        if (!configData.alerts.hackingCrate) return;
        if (player == null || crate == null) return;
        if(!crate.IsBeingHacked())return;

        var pos = crate.transform.position;

        if (configData.misc.hideCargoCrates && AtCargoShip(null, crate)) return;
        if (configData.misc.hideRigCrates && (AtLargeRig(pos) || AtSmallRig(pos))) return;

        SendMsg(Lang("HackingCrate", player.UserIDString, player.displayName, GetLocation(pos, null, crate)));

    });
}​

This will be fixed in the next Inbound update. Thanks!