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:
parent
705236b923
commit
12826da7c4
24 changed files with 66 additions and 86 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue