fix(ScriptEventHandler): Actually catch bad hashes
This commit is contained in:
parent
58af35a6c0
commit
1b5f489018
@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user