Hopefully fixed super dummies for the last time

This commit is contained in:
Dominic authored and Cameron Ewell committed 2021-08-05 00:01:13 -04:00
1 parent 784bcade4d
commit 5f34cbc24e
2 files changed
+36 -10

No files matched your search

+7 -1
View File
@@ -1,4 +1,5 @@
using CalamityMod.Events;
using CalamityMod.Items;
using CalamityMod.NPCs;
using CalamityMod.NPCs.NormalNPCs;
using CalamityMod.NPCs.Providence;
@@ -110,6 +111,10 @@ namespace CalamityMod
if (Main.netMode != NetmodeID.MultiplayerClient)
NPC.NewNPC(x, y, ModContent.NPCType<SuperDummyNPC>());
break;
case CalamityModMessageType.DeleteAllSuperDummies:
if (Main.netMode != NetmodeID.MultiplayerClient)
SuperDummy.DeleteDummies();
break;
case CalamityModMessageType.ServersideSpawnOldDuke:
byte playerIndex2 = reader.ReadByte();
CalamityUtils.SpawnOldDuke(playerIndex2);
@@ -271,7 +276,8 @@ namespace CalamityMod
// Syncs for specific bosses or entities
SyncCalamityNPCAIArray,
SpawnSuperDummy, // TODO -- super dummies STILL don't work in multiplayer
SpawnSuperDummy,
DeleteAllSuperDummies,
ServersideSpawnOldDuke,
DoGCountdownSync, // TODO -- this gets written in about six thousand places which all need to be individually evaluated
ArmoredDiggerCountdownSync, // TODO -- remove this mechanic entirely