fix: Removes from literals (#893)
This commit is contained in:
parent
63e1b02d93
commit
3cba8c43f8
26 changed files with 32 additions and 32 deletions
|
|
@ -60,7 +60,7 @@ namespace Server.Items
|
|||
|
||||
public void Throw(Mobile from)
|
||||
{
|
||||
if (@from.Weapon is not BaseKnife knife)
|
||||
if (from.Weapon is not BaseKnife knife)
|
||||
{
|
||||
from.LocalOverheadMessage(MessageType.Regular, 0x3B2, 500751); // Try holding a knife...
|
||||
return;
|
||||
|
|
|
|||
|
|
@ -1054,7 +1054,7 @@ namespace Server.Items
|
|||
return;
|
||||
}
|
||||
|
||||
if (@from is not PlayerMobile player)
|
||||
if (from is not PlayerMobile player)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -168,7 +168,7 @@ namespace Server.Items
|
|||
return;
|
||||
}
|
||||
|
||||
if (@from is not PlayerMobile pm)
|
||||
if (from is not PlayerMobile pm)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -244,7 +244,7 @@ namespace Server.Items
|
|||
|
||||
public virtual void DoWandTarget(Mobile from, object o)
|
||||
{
|
||||
if (Deleted || _charges <= 0 || Parent != @from || o is StaticTarget or LandTarget)
|
||||
if (Deleted || _charges <= 0 || Parent != from || o is StaticTarget or LandTarget)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue