diff --git a/NPCs/CalamityGlobalNPCLoot.cs b/NPCs/CalamityGlobalNPCLoot.cs index 20316021c8..d6792e3c1c 100644 --- a/NPCs/CalamityGlobalNPCLoot.cs +++ b/NPCs/CalamityGlobalNPCLoot.cs @@ -1783,12 +1783,15 @@ namespace CalamityMod.NPCs // First kill: Notify of Abyss chests being unlocked. if (!NPC.downedBoss3) { + // Abyss chest auto unlock has been shelved, the bug has still not fucking died despite several attempts to fix it. + // Commented it out just in case someone is willing to fix it in the future - Shade + /* if (Main.netMode != NetmodeID.MultiplayerClient) //Only the server should do this to prevent already unlocked chests from attempting to be unlocked { World.Abyss.AbleToUnlockChests = true; World.Abyss.UnlockAllAbyssChests(); } - + */ string keysk = "Mods.CalamityMod.Status.Progression.SkeletronAbyssChestNotification"; CalamityUtils.DisplayLocalizedText(keysk, new Color(76, 181, 76)); } diff --git a/World/Abyss.cs b/World/Abyss.cs index 92679c590e..ba517912e5 100644 --- a/World/Abyss.cs +++ b/World/Abyss.cs @@ -36,7 +36,7 @@ namespace CalamityMod.World public static bool AtLeftSideOfWorld = false; public static int AbyssChasmBottom = 0; - public static bool AbleToUnlockChests = false; //used for unlocking chests during skeletron's death and so that they cannot be opened beforehand + //public static bool AbleToUnlockChests = false; //used for unlocking chests during skeletron's death and so that they cannot be opened beforehand public static void PlaceAbyss() { int x = Main.maxTilesX; @@ -1155,7 +1155,9 @@ namespace CalamityMod.World WorldGen.PlaceObject(i, j - 2, (ushort)ModContent.TileType()); } - + // Commented out the method in case we ever use it again in the future, or some guy in the public github fixes it, + // but for now this is a buggy mess that is too disruptive especially in multiplayer despite several attempts at fixing it - Shade + /* public static void UnlockAllAbyssChests() { int genLimit = Main.maxTilesX / 2; @@ -1181,5 +1183,6 @@ namespace CalamityMod.World } AbleToUnlockChests = false; //reseting the variable in case players generate multiple worlds to prevent already unlocked chests from spawning } + */ } }