Fix IndexOutOfRangeException in ILChanges.ColorBlightedGel (#37)

This commit is contained in:
JavidPack authored and GitHub committed 2024-05-02 12:13:24 -04:00
1 parent 1da1a257ad
commit ae69405e71
1 file changed
+1 -1
+1 -1
View File
@@ -289,7 +289,7 @@ namespace CalamityMod.ILEditing
// 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