fix: Fixes critical serial dupe bug and deserialization/serialization issues. (#1245)

This commit is contained in:
Kamron Batman 2022-11-13 15:54:58 -08:00 committed by GitHub
parent e66efefff3
commit 6d00b2caa9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 53 additions and 18 deletions

View file

@ -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()