From 0bd4a99666bb933d8d6c8a7ba105adac214982a4 Mon Sep 17 00:00:00 2001 From: doze-zoze Date: Thu, 12 Mar 2026 14:45:48 -0500 Subject: [PATCH] fixed right click autouse being in the wrong spot --- Items/Weapons/Rogue/Supernova.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Items/Weapons/Rogue/Supernova.cs b/Items/Weapons/Rogue/Supernova.cs index de6131f848..0f67b61514 100644 --- a/Items/Weapons/Rogue/Supernova.cs +++ b/Items/Weapons/Rogue/Supernova.cs @@ -18,6 +18,11 @@ namespace CalamityMod.Items.Weapons.Rogue public static readonly SoundStyle ExplosionSound = new("CalamityMod/Sounds/Item/SupernovaBoom") { Volume = 0.9f }; public static readonly SoundStyle StealthExplosionSound = new("CalamityMod/Sounds/Item/SupernovaStealthExplode") { Volume = 1f }; public static readonly SoundStyle StealthChargeSound = new("CalamityMod/Sounds/Item/SupernovaStealthCharge") { Volume = 1f }; + + public override void SetStaticDefaults() + { + ItemID.Sets.ItemsThatAllowRepeatedRightClick[Type] = true; + } public override void SetDefaults() { Item.width = 106; @@ -37,7 +42,6 @@ namespace CalamityMod.Items.Weapons.Rogue Item.DamageType = RogueDamageClass.Instance; Item.rare = ModContent.RarityType(); Item.channel = true; - ItemID.Sets.ItemsThatAllowRepeatedRightClick[Type] = true; } public override bool AltFunctionUse(Player player) => true;