diff --git a/Project Reboot 3.0/commands.h b/Project Reboot 3.0/commands.h index 17909e4..f59089d 100644 --- a/Project Reboot 3.0/commands.h +++ b/Project Reboot 3.0/commands.h @@ -49,6 +49,9 @@ inline void SendMessageToConsole(AFortPlayerController* PlayerController, const void ServerCheatHook(AFortPlayerControllerAthena* PlayerController, FString Msg) { + if (!Msg.Data.Data || Msg.Data.Num() <= 0) + return; + auto PlayerState = Cast(PlayerController->GetPlayerState()); // std::cout << "aa!\n";