Removed !Main.dedServ check
This commit is contained in:
1 parent
80fe169dbf
commit
d3d2f7edd5
2 files changed
+5
-4
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
@@ -173,8 +173,8 @@ EditedTooltip: {
|
||||
MoltenQuiver: Lights wooden arrows ablaze and all arrows inflict Hellfire
|
||||
RifleScope1: Increase view range for guns (<right> 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:
|
||||
'''
|
||||
|
||||
Reference in new issue
Block a user