Replaced every instance of Main.netMode == NetmodeID.Server with Main.dedServ

And every Main.netMode != NetmodeID.Server with !Main.dedServ
This commit is contained in:
CongratsIsTrash committed 2024-12-30 15:57:16 -05:00
1 parent 96d51a842b
commit dc90e31dc0
499 files changed
+692 -692

No files matched your search

+1 -1
View File
@@ -257,7 +257,7 @@ namespace CalamityMod
private static void WikiThisSupport()
{
// Wikithis is a clientside mod
if (Main.netMode == NetmodeID.Server)
if (Main.dedServ)
return;
CalamityMod calamity = GetInstance<CalamityMod>();