fix: Adds DupeExcludedProperty to Items (#1556)
This commit is contained in:
parent
85e23d8d83
commit
74f67487c4
2 changed files with 11 additions and 1 deletions
|
|
@ -51,7 +51,7 @@ namespace Server.Commands
|
|||
try
|
||||
{
|
||||
// Do not set the parent since it screws up mobile/container totals and weights.
|
||||
if (p.CanRead && p.CanWrite && p.Name != "Parent")
|
||||
if (p.CanRead && p.CanWrite && !src.DupeExcludedProperty(p.Name) && !dest.DupeExcludedProperty(p.Name))
|
||||
{
|
||||
p.SetValue(dest, p.GetValue(src, null), null);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue