From c219cea2d412b25cab761ce2eafdccfdf4bb4305 Mon Sep 17 00:00:00 2001 From: Nathanael Overton Date: Fri, 5 Jun 2026 14:00:37 -0400 Subject: [PATCH] 2 spring stool fixes --- CalPlayer/DrawLayers/SpringStoolLayer.cs | 2 +- Items/Accessories/SpringStool.cs | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CalPlayer/DrawLayers/SpringStoolLayer.cs b/CalPlayer/DrawLayers/SpringStoolLayer.cs index 5343d50ce5..b2127a1217 100644 --- a/CalPlayer/DrawLayers/SpringStoolLayer.cs +++ b/CalPlayer/DrawLayers/SpringStoolLayer.cs @@ -21,7 +21,7 @@ namespace CalamityMod.CalPlayer.DrawLayers private Asset springTexture; private Asset topTexture; - public override Position GetDefaultPosition() => new BeforeParent(PlayerDrawLayers.Leggings); + public override Position GetDefaultPosition() => new AfterParent(PlayerDrawLayers.PortableStool); public override bool GetDefaultVisibility(PlayerDrawSet drawInfo) { diff --git a/Items/Accessories/SpringStool.cs b/Items/Accessories/SpringStool.cs index e68a6b1687..4e7c1e55e9 100644 --- a/Items/Accessories/SpringStool.cs +++ b/Items/Accessories/SpringStool.cs @@ -96,8 +96,9 @@ namespace CalamityMod.Items.Accessories { bool holdingUp = Player.controlUp; bool standingStill = Player.velocity.Y == 0 && Math.Abs(Player.velocity.X) < 0.1f; + bool highEnoughCeiling = !Collision.SolidCollision(new Vector2(Player.position.X, Player.position.Y - 64), Player.width, 64); - if (holdingUp && standingStill && !Player.mount.Active) + if (holdingUp && standingStill && highEnoughCeiling && !Player.mount.Active) { int boost = 61; if (IsVanillaStoolEquipped(Player))