diff --git a/ILEditing/ILChangesLoading.cs b/ILEditing/ILChangesLoading.cs index ffed28fb41..097e80ec90 100644 --- a/ILEditing/ILChangesLoading.cs +++ b/ILEditing/ILChangesLoading.cs @@ -136,7 +136,6 @@ namespace CalamityMod.ILEditing IL_UIWorldCreation.AddWorldSizeOptions += SwapSmallDescriptionKey; On_WorldGen.MakeDungeon += LimitDungeonEntranceXPosition; IL_WorldGen.DungeonHalls += LimitDungeonHallsXPosition; - IL_JunglePass.GenerateFinishingTouches += AddStohne; // Removal of vanilla stupidity IL_Player.StatusFromNPC += RemoveExpertBrainRandomDebuffs; diff --git a/ILEditing/MechanicILChanges.cs b/ILEditing/MechanicILChanges.cs index 1d068940fc..d8c16eea1e 100644 --- a/ILEditing/MechanicILChanges.cs +++ b/ILEditing/MechanicILChanges.cs @@ -1321,31 +1321,6 @@ namespace CalamityMod.ILEditing } #endregion - #region Add Stohne to the Jungle - private static void AddStohne(ILContext il) - { - var cursor = new ILCursor(il); - - if (!cursor.TryGotoNext(MoveType.Before, - c => c.MatchLdcI4(out var tileType) && tileType == TileID.Stone, - c => c.MatchLdcI4(out _), // bool addTile - c => c.MatchLdcR8(out _), // double speedX - c => c.MatchLdcR8(out _), // double speedY - c => c.MatchLdcI4(out _), // bool noYChange - c => c.MatchLdcI4(out _), // bool overRide - c => c.MatchLdcI4(out _), // int ignoreTileType - c => c.MatchCallOrCallvirt(nameof(WorldGen.TileRunner)))) - { - LogFailure("Add Stohne To Jungle", "Could not locate the TileRunner call for Stone"); - return; - } - - // Replace Next Instruction to Ldc.I4 :: Stohne - cursor.Next.OpCode = OpCodes.Ldc_I4; - cursor.Next.Operand = ModContent.TileType(); - } - #endregion - #region Hellscape for GlowMask ModPlants #region Tree Trunk / Cactus GlowMask diff --git a/NPCs/NormalNPCs/Bohldohr.cs b/NPCs/NormalNPCs/Bohldohr.cs index a7c0f35756..f6af30ac41 100644 --- a/NPCs/NormalNPCs/Bohldohr.cs +++ b/NPCs/NormalNPCs/Bohldohr.cs @@ -93,7 +93,6 @@ namespace CalamityMod.NPCs.NormalNPCs public override void ModifyNPCLoot(NPCLoot npcLoot) { - npcLoot.Add(ItemID.LihzahrdBrick, 1, 10, 26); npcLoot.Add(ModContent.ItemType(), 1, 10, 26); npcLoot.Add(ItemID.LunarTabletFragment, 7, 10, 26); npcLoot.Add(ItemID.LihzahrdPowerCell, 50); diff --git a/Systems/Mechanic/RecipeSystem.cs b/Systems/Mechanic/RecipeSystem.cs index 3023f9758e..13fb7ee702 100644 --- a/Systems/Mechanic/RecipeSystem.cs +++ b/Systems/Mechanic/RecipeSystem.cs @@ -236,8 +236,7 @@ namespace CalamityMod.Systems ItemID.EbonstoneBlock, ItemID.CrimstoneBlock, ItemID.PearlstoneBlock, - ItemType(), - ItemType() + ItemType() }); AnyStoneBlock = RecipeGroup.RegisterGroup("AnyStoneBlock", group); diff --git a/Utilities/TileUtils.cs b/Utilities/TileUtils.cs index 28e6382e8d..ff47fdb067 100644 --- a/Utilities/TileUtils.cs +++ b/Utilities/TileUtils.cs @@ -398,7 +398,6 @@ namespace CalamityMod TileType(), TileType(), TileType(), - TileType(), TileType(), });