Modernization Fixes & Updates to Default Values (#3)
This commit is contained in:
parent
445eddff68
commit
dcf64091b1
768 changed files with 10507 additions and 14196 deletions
|
|
@ -1,4 +1,3 @@
|
|||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using Server.Multis;
|
||||
|
||||
|
|
@ -250,11 +249,11 @@ namespace Server.Items
|
|||
|
||||
if (house != null)
|
||||
{
|
||||
ArrayList doors = house.Doors;
|
||||
List<BaseDoor> doors = house.Doors;
|
||||
|
||||
for (int i = 0; i < doors.Count; ++i)
|
||||
{
|
||||
BaseDoor door = doors[i] as BaseDoor;
|
||||
BaseDoor door = doors[i];
|
||||
|
||||
if (door != null && door.Open)
|
||||
return AddonFitResult.DoorsNotClosed;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue