diff --git a/NPCs/CalamityGlobalNPC.cs b/NPCs/CalamityGlobalNPC.cs index 3ec1e0003d..a3dad836ab 100644 --- a/NPCs/CalamityGlobalNPC.cs +++ b/NPCs/CalamityGlobalNPC.cs @@ -5667,6 +5667,7 @@ namespace CalamityMod.NPCs } #endregion + #region Buff Town NPC public override void BuffTownNPC(ref float damageMult, ref int defense) { if (NPC.downedMoonlord) @@ -5700,6 +5701,7 @@ namespace CalamityMod.NPCs defense += 20; } } + #endregion #region Shop Stuff public override void SetupShop(int type, Chest shop, ref int nextSlot) diff --git a/Schematics/TilePlacementHelpers.cs b/Schematics/TilePlacementHelpers.cs index 2d2c4b69ba..16e683b2f9 100644 --- a/Schematics/TilePlacementHelpers.cs +++ b/Schematics/TilePlacementHelpers.cs @@ -32,7 +32,6 @@ namespace CalamityMod.Schematics { PilePlacementMaps.TryGetValue(mapKey, out PilePlacementFunction pilePlacementFunction); Tile[,] tiles = TileMaps[mapKey]; - ushort[,] oldWalls = new ushort[tiles.GetLength(0), tiles.GetLength(1)]; int xOffset = placementPosition.X; int yOffset = placementPosition.Y; // Top-left is the default for terraria. There is no need to include it in this switch.