Closed billbo99 closed 1 year ago
Have your mod's dictionaries already been generated by (generated, not translated) the time the player joins? If there are no dictionaries, then player_data.dictionary
will be nil
.
I was finally able to reproduce this, thanks to Honktown on the factorio discord. It turned out to be a very small typo in the translation canceling logic. It shouldn't crash any more!
I am using your mod "flib_0.10.1" to translate locales for my mod, as soon as I logged in to our multiplayer server the server crashed with this error
I am not sure which part is returning a NIL
local string = raw[player_data.dictionary].strings[player_data.i]