Update PlayerJoinMessage.cs

This commit is contained in:
Mister_Nebula 2022-01-08 16:36:47 +00:00
parent 8e3688010d
commit 224ed66193

View File

@ -64,14 +64,14 @@ namespace QSB.Player.Messages
if (Platform != QSBCore.Platform)
{
DebugLog.ToConsole($"Error - Client {PlayerName} connecting with wrong game platform. (Client:{Platform}, Server:{QSBCore.Platform})", MessageType.Error);
new PlayerKickMessage(From, KickReason.DLCNotMatching).Send();
new PlayerKickMessage(From, KickReason.GamePlatformNotMatching).Send();
return;
}
if (DlcInstalled != QSBCore.DLCInstalled)
{
DebugLog.ToConsole($"Error - Client {PlayerName} connecting with wrong DLC installation state. (Client:{DlcInstalled}, Server:{QSBCore.DLCInstalled})", MessageType.Error);
new PlayerKickMessage(From, KickReason.GamePlatformNotMatching).Send();
new PlayerKickMessage(From, KickReason.DLCNotMatching).Send();
return;
}