fix: Removes from literals (#893)

This commit is contained in:
Kamron Batman 2021-12-24 15:56:07 -08:00 • committed by GitHub
parent 63e1b02d93
commit 3cba8c43f8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
26 changed files with 32 additions and 32 deletions

View file

@ -299,7 +299,7 @@ namespace Server.Items
private bool HasEntered(Mobile from)
{
if (@from.Account is not Account acc)
if (from.Account is not Account acc)
{
return false;
}
@ -509,7 +509,7 @@ namespace Server.Items
return;
}
if (@from.Account is not Account)
if (from.Account is not Account)
{
return;
}

View file

@ -167,7 +167,7 @@ namespace Server.Items
return false;
}
if (Account != null && (@from.Account is not Accounting.Account || from.Account.Username != Account))
if (Account != null && (from.Account is not Accounting.Account || from.Account.Username != Account))
{
from.SendLocalizedMessage(
1070714