Adds more formatting

This commit is contained in:
Kamron Batman 2018-08-19 21:28:24 +08:00
parent e77d695684
commit f674ec2be0
68 changed files with 530 additions and 876 deletions

View file

@ -53,9 +53,8 @@ namespace Server.Items
{
message = "It cannot weight itself.";
}
else if ( targeted is Item )
else if ( targeted is Item item )
{
Item item = (Item)targeted;
object root = item.RootParent;
if ( (root != null && root != from) || item.Parent == from )
@ -90,4 +89,4 @@ namespace Server.Items
}
}
}
}
}