From dc0050d6405411214e0f17233c05f497cb362c4a Mon Sep 17 00:00:00 2001 From: microlith57 Date: Sun, 21 Jun 2026 14:01:54 +1200 Subject: [PATCH] add allowStaticMovers field to SeekerBarrier --- Celeste.Mod.mm/Patches/SeekerBarrier.cs | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Celeste.Mod.mm/Patches/SeekerBarrier.cs b/Celeste.Mod.mm/Patches/SeekerBarrier.cs index ac9e08c94..0429f8a5d 100644 --- a/Celeste.Mod.mm/Patches/SeekerBarrier.cs +++ b/Celeste.Mod.mm/Patches/SeekerBarrier.cs @@ -9,8 +9,13 @@ namespace Celeste { public class patch_SeekerBarrier : SeekerBarrier { - public patch_SeekerBarrier(EntityData data, Vector2 offset) : base(data, offset) { - // no-op. MonoMod ignores this - we only need this to make the compiler shut up. + + [MonoModConstructor] + [MonoModReplace] + public patch_SeekerBarrier(EntityData data, Vector2 offset) + : base(data.Position + offset, data.Width, data.Height) { + + AllowStaticMovers = data.Bool("allowStaticMovers", true); } [MonoModIgnore]