Corrected UUID InsertBan in TSPlayer
Pointed out thanks to this discussion: https://github.com/Pryaxis/TShock/discussions/2268#discussioncomment-598331
This commit is contained in:
parent
29e55a866d
commit
71e2ae1b31
1 changed files with 1 additions and 1 deletions
|
|
@ -1637,7 +1637,7 @@ namespace TShockAPI
|
||||||
if (force)
|
if (force)
|
||||||
{
|
{
|
||||||
TShock.Bans.InsertBan($"{Identifier.IP}{IP}", reason, adminUserName, DateTime.UtcNow, DateTime.MaxValue);
|
TShock.Bans.InsertBan($"{Identifier.IP}{IP}", reason, adminUserName, DateTime.UtcNow, DateTime.MaxValue);
|
||||||
TShock.Bans.InsertBan($"{Identifier.IP}{UUID}", reason, adminUserName, DateTime.UtcNow, DateTime.MaxValue);
|
TShock.Bans.InsertBan($"{Identifier.UUID}{UUID}", reason, adminUserName, DateTime.UtcNow, DateTime.MaxValue);
|
||||||
if (Account != null)
|
if (Account != null)
|
||||||
{
|
{
|
||||||
TShock.Bans.InsertBan($"{Identifier.Account}{Account.Name}", reason, adminUserName, DateTime.UtcNow, DateTime.MaxValue);
|
TShock.Bans.InsertBan($"{Identifier.Account}{Account.Name}", reason, adminUserName, DateTime.UtcNow, DateTime.MaxValue);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue