tModLoader Setting AnchorData count to 1 is giving an "Index was outside the bounds of the array" error.

dragon3025

Terrarian
I have a 3x3 tile that supposed to work like Terraria's sign, except I want the first style to anchor to the left using only the top left tile while ignore the middle left and bottom right tiles.

When I place it on the left, it gives me a Index outside bounds error: Hastebin: Send and Save Text or Code Snippets for Free | Toptal®. It happens when I set the AnchoreData count to 1 instead of 3. Here's my code (for some reason, it's not syntax highlighting for c#, anchordata that I'm editing is on line 46): Hastebin: Send and Save Text or Code Snippets for Free | Toptal®
 
Back
Top Bottom