fix: Fixes duping containers and removes copying private setter properties (#1816)
### Summary - Removes copying private setters - Fixes duping containers - Adds public `Dupe.DoDupe` functions for external scripts to hook into the existing logic.
This commit is contained in:
parent
c69d16a90e
commit
0b802dbe1b
5 changed files with 116 additions and 65 deletions
|
|
@ -492,10 +492,7 @@ namespace Server.Items
|
|||
aquarium.Water.Maintain = Water.Maintain;
|
||||
aquarium.Water.State = Water.State;
|
||||
|
||||
for (var i = 0; i < _events.Count; i++)
|
||||
{
|
||||
aquarium.AddToEvents(_events[i]);
|
||||
}
|
||||
aquarium.Events = [..Events];
|
||||
}
|
||||
|
||||
private void Deserialize(IGenericReader reader, int version)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue