remove ParentEntity and RootParentEntity

Parent and RootParent are now IEntity properties
refactor object arguments to IEntity for parent related methods
branch and version bump to 2.6
This commit is contained in:
Mark Sturgill 2014-02-15 13:21:28 -07:00
parent 705236b923
commit 12826da7c4
24 changed files with 66 additions and 86 deletions

View file

@ -280,7 +280,7 @@ namespace Server.Items
public override int DefaultMaxWeight {
get {
if ( Core.ML ) {
Mobile m = ParentEntity as Mobile;
Mobile m = Parent as Mobile;
if ( m != null && m.Player && m.Backpack == this ) {
return 550;
} else {