Fix Whitelist (ich bin dumm)

This commit is contained in:
VegaZ
2018-10-02 17:47:45 +02:00
parent ca53b9702f
commit 3b9f2057a7

View File

@@ -23,7 +23,7 @@ namespace reallife_gamemode.Server.Events
[ServerEvent(Event.PlayerConnected)] [ServerEvent(Event.PlayerConnected)]
public void OnPlayerConnected(Client player) public void OnPlayerConnected(Client player)
{ {
if(!(player.SocialClubName == "VegasZ") || (player.SocialClubName == "datgame_") || (player.SocialClubName == "xSprite")) if(!(player.SocialClubName == "VegasZ") || !(player.SocialClubName == "datgame_") || !(player.SocialClubName == "xSprite"))
{ {
player.Kick(); player.Kick();
return; return;