Merge branch 'general-devel' of github.com:TShock/TShock into general-devel
This commit is contained in:
commit
98a282cd2a
12 changed files with 164 additions and 27 deletions
|
|
@ -845,6 +845,11 @@ namespace TShockAPI
|
|||
ban = Bans.GetBanByIp(player.IP);
|
||||
}
|
||||
|
||||
if (Config.EnableUUIDBans && null == ban)
|
||||
{
|
||||
ban = Bans.GetBanByUUID(player.UUID);
|
||||
}
|
||||
|
||||
if (ban != null)
|
||||
{
|
||||
if (!Utils.HasBanExpired(ban))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue