diff --git a/Items/Weapons/Melee/ProfanedSword.cs b/Items/Weapons/Melee/ProfanedSword.cs index 5ebfd1543e..e71647abd4 100644 --- a/Items/Weapons/Melee/ProfanedSword.cs +++ b/Items/Weapons/Melee/ProfanedSword.cs @@ -95,7 +95,7 @@ namespace CalamityMod.Items.Weapons.Melee public override void AddRecipes() { CreateRecipe(). - AddIngredient(ModContent.ItemType(6)). + AddIngredient(ModContent.ItemType(), 6). AddTile(TileID.MythrilAnvil). Register(); } diff --git a/World/MiscWorldgenRoutines.cs b/World/MiscWorldgenRoutines.cs index 2b3fa52d18..3bcfe92a7e 100644 --- a/World/MiscWorldgenRoutines.cs +++ b/World/MiscWorldgenRoutines.cs @@ -561,7 +561,7 @@ namespace CalamityMod.World if ((num8 != num6 || (n != num4 && n != num5)) && Main.tile[n, num8].WallType == 0) { Main.tile[n, num8].Get().HasTile = false; - Main.tile[n, num8].WallType = wall; + Main.tile[n, num8].WallType = (ushort)wall; } } }