mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 02:42:22 +01:00
fix cheat crash
This commit is contained in:
@@ -49,6 +49,9 @@ inline void SendMessageToConsole(AFortPlayerController* PlayerController, const
|
|||||||
|
|
||||||
void ServerCheatHook(AFortPlayerControllerAthena* PlayerController, FString Msg)
|
void ServerCheatHook(AFortPlayerControllerAthena* PlayerController, FString Msg)
|
||||||
{
|
{
|
||||||
|
if (!Msg.Data.Data || Msg.Data.Num() <= 0)
|
||||||
|
return;
|
||||||
|
|
||||||
auto PlayerState = Cast<AFortPlayerStateAthena>(PlayerController->GetPlayerState());
|
auto PlayerState = Cast<AFortPlayerStateAthena>(PlayerController->GetPlayerState());
|
||||||
|
|
||||||
// std::cout << "aa!\n";
|
// std::cout << "aa!\n";
|
||||||
|
|||||||
Reference in New Issue
Block a user