arpruss / moon-mapgen-minetest

Other
3 stars 2 forks source link

Will not Work un minetest 0.4.17?? #2

Open HoerMirAuf opened 6 years ago

HoerMirAuf commented 6 years ago

2018-11-13 19:09:21: ERROR[Main]: The following mods could not be found: "travelpoints" 2018-11-13 19:09:21: ERROR[Main]: ModError: Failed to load and run script from /usr/local/minetest-0.4.17/bin/../games/Moon/mods/moon/init.lua: 2018-11-13 19:09:21: ERROR[Main]: ...cal/minetest-0.4.17/bin/../games/Moon/mods/moon/init.lua:42: attempt to index global 'ie' (a nil value) 2018-11-13 19:09:21: ERROR[Main]: stack traceback: 2018-11-13 19:09:21: ERROR[Main]: ...cal/minetest-0.4.17/bin/../games/Moon/mods/moon/init.lua:42: in main chunk

HoerMirAuf commented 5 years ago

Oke, found the problem:

Goto init.lua

and change teh first coe lines:

if minetest.request_insecure_envoironment then ie = minetest.request_insecure_environment() else ie = _G end

to: local ie = _G

if minetest.request_insecure_envoironment then local ie = minetest.request_insecure_environment() end

thats it !

MidnightPhantom commented 1 year ago

Well this will run if you enable it in trusted mods