From 565471383bb6c876ba9fa4c871350b670de03270 Mon Sep 17 00:00:00 2001 From: CongratsIsTrash <142704082+CongratsIsTrash@users.noreply.github.com> Date: Thu, 5 Mar 2026 19:09:57 -0500 Subject: [PATCH] Fixed compile error with Sunken Sea lab gen --- World/DraedonStructures.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/World/DraedonStructures.cs b/World/DraedonStructures.cs index 737d3a635e..b4441f1453 100644 --- a/World/DraedonStructures.cs +++ b/World/DraedonStructures.cs @@ -366,8 +366,7 @@ namespace CalamityMod.World //copied the desert position code from the sunken sea's generation so the lab always generates within the sunken sea properly for (int y = Main.maxTilesY - 200; y >= Main.worldSurface; y--) { - if (Main.tile[placementPositionX, y].WallType == ModContent.WallType() || - Main.tile[placementPositionX, y].WallType == ModContent.WallType()) + if (Main.tile[placementPositionX, y].WallType == ModContent.WallType()) { sunkenSeaY = y - 80; //offset so it generates nicely break;