fix: Fixes area command not working (#725)
This commit is contained in:
parent
d18d436cfe
commit
13931ddf1d
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue