From 8048711483e917f91458b0182b2edf6237e5263d Mon Sep 17 00:00:00 2001 From: Kamron Batman <3953314+kamronbatman@users.noreply.github.com> Date: Sat, 29 Nov 2025 16:28:14 -0800 Subject: [PATCH] fix: Fixes ConditionTeleporter.DenyFollowers (#2284) --- Projects/UOContent/Items/Misc/Teleporter.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Projects/UOContent/Items/Misc/Teleporter.cs b/Projects/UOContent/Items/Misc/Teleporter.cs index cecf3e544..4ab185730 100644 --- a/Projects/UOContent/Items/Misc/Teleporter.cs +++ b/Projects/UOContent/Items/Misc/Teleporter.cs @@ -866,8 +866,7 @@ public partial class ConditionTeleporter : Teleporter return false; } - if (GetFlag(ConditionFlag.DenyFollowers) && - (m.Followers != 0 || m is PlayerMobile mobile && mobile.AutoStabled?.Count != 0)) + if (GetFlag(ConditionFlag.DenyFollowers) && (m.Followers != 0 || m is PlayerMobile { AutoStabled.Count: > 0 })) { m.SendLocalizedMessage(1077250); // No pets permitted beyond this point. return false;