Skip to content

Commit

Permalink
Fix IndexOutOfRangeException in ILChanges.ColorBlightedGel (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
JavidPack authored May 2, 2024
1 parent 1da1a25 commit ae69405
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ILEditing/VanillaStupidityFixingILChanges.cs
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ private static void ColorBlightedGel(Terraria.GameContent.ItemDropRules.On_Commo

// Sync the color changes.
if (colorWasChanged)
NetMessage.SendData(MessageID.ItemTweaker, -1, -1, null, itemID, 1f);
NetMessage.SendData(MessageID.ItemTweaker, -1, -1, null, itemIndex, 1f);
}
#endregion Color Blighted Gel

Expand Down

0 comments on commit ae69405

Please sign in to comment.