You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After downloading the latest update to this mod on 10/16/24, the mod is crashing the game with the following error:
ModError: Runtime error from mod 'mesecons_doors' in callback on_mods_loaded(): ...64\minetest\bin\..\mods\mesecons\mesecons_doors\init.lua:135: bad argument #1 to 'pairs' (table expected, got nil)
stack traceback:
[C]: in function 'pairs'
...64\minetest\bin\..\mods\mesecons\mesecons_doors\init.lua:135: in function <...64\minetest\bin\..\mods\mesecons\mesecons_doors\init.lua:134>
...t 5.4.1 -win64\minetest\bin\..\builtin\game\register.lua:431: in function <...t 5.4.1 -win64\minetest\bin\..\builtin\game\register.lua:417>
Just a simple or {} should fix it. Same should be done right below. Though I do wonder what would cause doors.registered_doors to be nil despite mesecons_doors depending on doors. Maybe there is an API-incompatible mod called doors out there?
The text was updated successfully, but these errors were encountered:
appgurueu
changed the title
Regression caused by b46c589a38c98b4fe84716922dbabb21841bca67
Regression caused by b46c589
Oct 16, 2024
See https://forum.minetest.net/viewtopic.php?p=439964#p439964:
The line in question:
mesecons/mesecons_doors/init.lua
Line 135 in b46c589
Just a simple
or {}
should fix it. Same should be done right below. Though I do wonder what would causedoors.registered_doors
to benil
despitemesecons_doors
depending ondoors
. Maybe there is an API-incompatible mod calleddoors
out there?The text was updated successfully, but these errors were encountered: