Cleanup that was missed during the last sweep. (#14)

This commit is contained in:
Kamron Batman 2019-03-03 15:10:20 -08:00 committed by GitHub
parent 5cf37da625
commit 01d0fb75b8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 93 additions and 111 deletions

View file

@ -722,8 +722,8 @@ namespace Server.Multis
if (!item.Deleted)
{
if (item is StrongBox)
item = ((StrongBox)item).ConvertToStandardContainer();
if (item is StrongBox box)
item = box.ConvertToStandardContainer();
item.IsLockedDown = false;
item.IsSecure = false;