From 13931ddf1d458a2975e1b3cb89b8862a571990b4 Mon Sep 17 00:00:00 2001 From: Kamron Batman <3953314+kamronbatman@users.noreply.github.com> Date: Tue, 24 Aug 2021 11:24:28 -0700 Subject: [PATCH] fix: Fixes area command not working (#725) --- .../Commands/Generic/Implementors/AreaCommandImplementor.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Projects/UOContent/Commands/Generic/Implementors/AreaCommandImplementor.cs b/Projects/UOContent/Commands/Generic/Implementors/AreaCommandImplementor.cs index a269e3756..12a3694a1 100644 --- a/Projects/UOContent/Commands/Generic/Implementors/AreaCommandImplementor.cs +++ b/Projects/UOContent/Commands/Generic/Implementors/AreaCommandImplementor.cs @@ -49,7 +49,7 @@ namespace Server.Commands.Generic foreach (var obj in eable) { - if ((!mobiles || obj is Mobile) && BaseCommand.IsAccessible(from, obj) && ext.IsValid(obj)) + if ((!mobiles || obj is not Mobile || BaseCommand.IsAccessible(from, obj)) && ext.IsValid(obj)) { objs.Add(obj); }