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:
1 parent
96d51a842b
commit
dc90e31dc0
499 files changed
+692
-692
No files matched your search
@@ -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>();
|
||||
|
||||
Reference in new issue
Block a user