added this in a new server but gives me this error 2025-07-08 17:45:47: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod 'modern' in callback node_on_dig(): ....0.5\bin..\mods\multidecor\decor_api/common_helpers.lua:20: attempt to perform arithmetic on local 'dir' (a table value)
2025-07-08 17:45:47: ERROR[Main]: stack traceback:
2025-07-08 17:45:47: ERROR[Main]: ....0.5\bin..\mods\multidecor\decor_api/common_helpers.lua:20: in function 'get_dir'
2025-07-08 17:45:47: ERROR[Main]: ...ultiCraft-2.0.5\bin..\mods\multidecor\decor_api/bed.lua:52: in function 'can_dig'
2025-07-08 17:45:47: ERROR[Main]: ....0.5-win64\MultiCraft-2.0.5\bin..\builtin\game\item.lua:688: in function <....0.5-win64\MultiCraft-2.0.5\bin..\builtin\game\item.lua:682>. Please fix it
2: that seems to be some issue with on_dig and vectors. I'm presuming this mod is still using table-created vectors instead of vector.new, which seems to cause issues on newer versions of Luanti due to its deprecation. The mod creator needs to ensure he has a compatibility layer - or to make his mod 5.5+ and use vector commands
added this in a new server but gives me this error 2025-07-08 17:45:47: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod 'modern' in callback node_on_dig(): ....0.5\bin..\mods\multidecor\decor_api/common_helpers.lua:20: attempt to perform arithmetic on local 'dir' (a table value) 2025-07-08 17:45:47: ERROR[Main]: stack traceback: 2025-07-08 17:45:47: ERROR[Main]: ....0.5\bin..\mods\multidecor\decor_api/common_helpers.lua:20: in function 'get_dir' 2025-07-08 17:45:47: ERROR[Main]: ...ultiCraft-2.0.5\bin..\mods\multidecor\decor_api/bed.lua:52: in function 'can_dig' 2025-07-08 17:45:47: ERROR[Main]: ....0.5-win64\MultiCraft-2.0.5\bin..\builtin\game\item.lua:688: in function <....0.5-win64\MultiCraft-2.0.5\bin..\builtin\game\item.lua:682>. Please fix it
1: You should be reporting this to https://github.com/Andrey2470T/multidecor/issues or atleast making a thread here if possible (not a review)
2: that seems to be some issue with
on_dig
and vectors. I'm presuming this mod is still using table-created vectors instead ofvector.new
, which seems to cause issues on newer versions of Luanti due to its deprecation. The mod creator needs to ensure he has a compatibility layer - or to make his mod 5.5+ and use vector commandsconverted review into a thread