Check for bans on connection as well as join, etc

Should prevent people from being able to bypass this.
This commit is contained in:
ohayo 2025-01-30 22:46:13 +10:00
parent 80c29ee081
commit d35934b3a2
2 changed files with 3 additions and 0 deletions

View file

@ -1376,6 +1376,8 @@ namespace TShockAPI
}
}
}
Bans.CheckBan(player);
Players[args.Who] = player;
}