Fixed Levi MP issues

This commit is contained in:
Dominic committed 2020-08-22 13:15:22 -05:00
1 parent 80694d58da
commit 0422a5e5e1
1 file changed
+4
+4
View File
@@ -744,6 +744,10 @@ namespace CalamityMod.NPCs.Leviathan
public override void FindFrame(int frameHeight)
{
// Don't run texture related code on the server since textures do not exist there.
if (Main.netMode == NetmodeID.Server)
return;
Texture2D texture = Main.npcTexture[npc.type];
if (npc.ai[0] == 1f || npc.Calamity().newAI[3] < 180f)
{