fix(ScriptEventHandler): Actually catch bad hashes

This commit is contained in:
Yimura 2022-05-16 12:49:21 +02:00
parent 58af35a6c0
commit 1b5f489018
No known key found for this signature in database
GPG Key ID: 3D8FF4397E768682

View File

@ -65,6 +65,14 @@ namespace big
return true;
}
break;
case eRemoteEvent::Crash:
if (g->protections.script_events.crash)
{
format_string(player_name, "TSE Crash", notify.crash.log, notify.crash.notify);
return true;
}
break;
case eRemoteEvent::FakeDeposit:
if (g->protections.script_events.fake_deposit)
{
@ -89,6 +97,14 @@ namespace big
return true;
}
break;
case eRemoteEvent::MCTeleport:
if (g->protections.script_events.mc_teleport)
{
format_string(player_name, "MC Teleport", notify.mc_teleport.log, notify.mc_teleport.notify);
return true;
}
break;
case eRemoteEvent::NetworkBail:
if (g->protections.script_events.network_bail)
{