judos / beltSorter

A factorio mod which provides a sorting chest that can distribute items really fast
5 stars 15 forks source link

Crash while loading the world #45

Closed SeraphJACK closed 5 years ago

SeraphJACK commented 5 years ago

Log:

__beltSorter__/libs/migrations/util.lua:23: attempt to index field '?' (a nil value)
stack traceback:
    __beltSorter__/libs/migrations/util.lua:23: in function 'migrationAdd'
    __beltSorter__/migrations/beltSorter_0.6.2.lua:7: in main chunk

Maybe you should add

if force.recipes[recipeName] then
    ...
end

in util.lua#L23.

judos commented 5 years ago

wait that is still weird, if the given technology exists then also the recipes should be added for the beltSorter and therefore it should not crash :D can you provide the mods you use / savegame?

SeraphJACK commented 5 years ago

@yuanjie000

yuanjie000 commented 5 years ago

world.zip

mod list

judos commented 5 years ago

should be fixed with 0.6.4.