From d3d2f7edd5d37190edd5eda438df32b75c059c5b Mon Sep 17 00:00:00 2001 From: CongratsIsTrash <1q2w3e4dasd@gmail.com> Date: Thu, 28 May 2026 20:31:31 -0400 Subject: [PATCH] Removed `!Main.dedServ` check --- Items/Tools/TheGift.cs | 5 +++-- Localization/en-US/Mods.CalamityMod.Vanilla.hjson | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Items/Tools/TheGift.cs b/Items/Tools/TheGift.cs index 0715d1d47d..60e5aad77c 100644 --- a/Items/Tools/TheGift.cs +++ b/Items/Tools/TheGift.cs @@ -38,7 +38,7 @@ namespace CalamityMod.Items.Tools { // Controls actually applying the effect to an NPC // None of this should work in Remix because Remix disables happiness - if (Item.noGrabDelay <= 0 && !Main.remixWorld && !Main.dedServ && Item.playerIndexTheItemIsReservedFor == Main.myPlayer) + if (Item.noGrabDelay <= 0 && !Main.remixWorld && Item.playerIndexTheItemIsReservedFor == Main.myPlayer) { foreach (NPC n in Main.ActiveNPCs) { @@ -79,7 +79,8 @@ namespace CalamityMod.Items.Tools Item.active = false; Item.type = ItemID.None; } - NetMessage.SendData(MessageID.SyncItem, -1, -1, null, Item.whoAmI); + if (Main.netMode != NetmodeID.SinglePlayer) + NetMessage.SendData(MessageID.SyncItem, -1, -1, null, Item.whoAmI); // Make sure it can't apply to multiple NPCs at once break; } diff --git a/Localization/en-US/Mods.CalamityMod.Vanilla.hjson b/Localization/en-US/Mods.CalamityMod.Vanilla.hjson index 69f24560ae..d51df64d71 100644 --- a/Localization/en-US/Mods.CalamityMod.Vanilla.hjson +++ b/Localization/en-US/Mods.CalamityMod.Vanilla.hjson @@ -173,8 +173,8 @@ EditedTooltip: { MoltenQuiver: Lights wooden arrows ablaze and all arrows inflict Hellfire RifleScope1: Increase view range for guns ( to zoom out) RifleScope2: The scope effect can be toggled with visibility - ReconScope1: 15% increased ranged damage - ReconScope2: 5% increased ranged critical strike chance + ReconScope1: 15% increased ranged damage + ReconScope2: 5% increased ranged critical strike chance SniperScope: 12% increased ranged critical strike chance Magiluminescence: '''