[Suggestion] Add mod.conf
Someone posted this on Discord:
2019-04-30 20:18:32: ERROR[Main]: ModError: Failed to load and run script from C:\Users\Lem\Desktop\minetest-5.0.1-win64\minetest-5.0.1-win64\bin\..\mods\underground_challenge\init.lua: 2019-04-30 20:18:32: ERROR[Main]: ...t-5.0.1-win64\bin\..\mods\underground_challenge\init.lua:12: attempt to concatenate field 'modpath' (a nil value) 2019-04-30 20:18:32: ERROR[Main]: stack traceback: 2019-04-30 20:18:32: ERROR[Main]: ...t-5.0.1-win64\bin\..\mods\underground_challenge\init.lua:12: in main chunk
You should add a mod.conf
file to the mod with name = underch
inside to ensure that the mod name will be the same regardless of the folder name.
You can also list dependencies in the file.
Here's an example of a mod.conf: https://github.com/LoneWolfHT/lavastuff/blob/master/mod.conf