Skip to content
This repository has been archived by the owner on Oct 15, 2024. It is now read-only.

Commit

Permalink
Update CustomNames.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Chasmical authored May 25, 2020
1 parent c936b8f commit cc370f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CustomNames.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ Or you can access the translations array itself:
public string[] Translations { get; set; }
```
```cs
string randomString = myCustomName.Translations[Random.NextInt(8)];
string randomString = myCustomName.Translations[Random.Next(0, 8)];
myCustomName.Translations[3] = "NewName";
```

Expand Down

0 comments on commit cc370f3

Please sign in to comment.