The astral biome avoids the dungeon now

This commit is contained in:
DominicKarma42 committed 2020-07-30 20:56:09 -05:00
1 parent 84eefd8b7c
commit 99933b6a9f
1 file changed
+5
+5
View File
@@ -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;