fix: Fixes critical serial dupe bug and deserialization/serialization issues. (#1245)
This commit is contained in:
parent
e66efefff3
commit
6d00b2caa9
3 changed files with 53 additions and 18 deletions
|
|
@ -68,11 +68,6 @@ public class BankBox : Container
|
|||
Owner = reader.ReadEntity<Mobile>();
|
||||
Opened = reader.ReadBool();
|
||||
|
||||
if (Owner == null)
|
||||
{
|
||||
Delete();
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
@ -81,6 +76,11 @@ public class BankBox : Container
|
|||
{
|
||||
ItemID = 0xE7C;
|
||||
}
|
||||
|
||||
if (Owner == null)
|
||||
{
|
||||
Timer.DelayCall(Delete);
|
||||
}
|
||||
}
|
||||
|
||||
public void Close()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue