fix(ScriptEventHandler): Actually catch bad hashes

This commit is contained in:
Yimura 2022-05-16 12:49:21 +02:00
parent c7c0c8011f
commit bd7e2467e7

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)
{