From bc03a8b35224f6b167f88d677b9722bd7afa1c8a Mon Sep 17 00:00:00 2001 From: Storm2103 Date: Wed, 2 Aug 2023 15:52:34 -0600 Subject: [PATCH] fixed oversight with Mushroom shrine gen --- World/UndergroundShrines.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/World/UndergroundShrines.cs b/World/UndergroundShrines.cs index b4e9bdca2d..a508bee98e 100644 --- a/World/UndergroundShrines.cs +++ b/World/UndergroundShrines.cs @@ -500,8 +500,8 @@ namespace CalamityMod.World int placementPositionX = WorldGen.genRand.Next((int)(Main.maxTilesX * 0.2f), (int)(Main.maxTilesX * 0.8f)); int placementPositionY = WorldGen.genRand.Next((int)(Main.maxTilesY * 0.2f), (int)(Main.maxTilesY * 0.85f)); - // Gfb - if (Main.getGoodWorld) + // Gfb and Dont Dig up + if (Main.remixWorld) { // Ensure that the shrine doesn't generate too close to the center of the world do @@ -539,11 +539,11 @@ namespace CalamityMod.World } } - if ((!canGenerateInLocation || realMushroomsInArea < requiredShrooms || !structures.CanPlace(new Rectangle(placementPoint.X, placementPoint.Y, (int)schematicSize.X, (int)schematicSize.Y))) && !Main.getGoodWorld) + if ((!canGenerateInLocation || realMushroomsInArea < requiredShrooms || !structures.CanPlace(new Rectangle(placementPoint.X, placementPoint.Y, (int)schematicSize.X, (int)schematicSize.Y))) && !Main.remixWorld) { tries++; } - else if (!canGenerateInLocation && Main.getGoodWorld) //GFB will not give a shit about mushrooms or the rectangle + else if (!canGenerateInLocation && Main.remixWorld) //GFB nor dont dig up will not give a shit about mushrooms or the rectangle { tries++; }