From 99933b6a9fed369af727d2d0fc397beb02a70fcc Mon Sep 17 00:00:00 2001 From: DominicKarma42 <51094361+DominicKarma@users.noreply.github.com> Date: Thu, 30 Jul 2020 20:56:09 -0500 Subject: [PATCH] The astral biome avoids the dungeon now --- World/WorldGenerationMethods.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/World/WorldGenerationMethods.cs b/World/WorldGenerationMethods.cs index 4bde7783ed..1184d12a1d 100644 --- a/World/WorldGenerationMethods.cs +++ b/World/WorldGenerationMethods.cs @@ -1432,6 +1432,11 @@ namespace CalamityMod.World { return false; } + // Avoid the dungeon so that the beacon doesn't eat it. + if (Math.Abs(i - Main.dungeonX) < 65) + { + return false; + } if (j < 50 || j > Main.maxTilesY - 50) { return false;