minetest-mods / moreblocks

More Blocks
https://content.minetest.net/packages/Calinou/moreblocks/
zlib License
45 stars 67 forks source link

Crash when placing slopes #201

Open redblade7 opened 1 year ago

redblade7 commented 1 year ago

Hi,

I've been having crashes on one of my servers when players place down sloped wood. Here's an example log:

2023-10-03 13:30:25: ACTION[Server]: (REMOVED) places node coloredwood:slope_wood_grey at (-4330,18,-13166) 2023-10-03 13:30:27: ACTION[Main]: Server: Shutting down 2023-10-03 13:30:27: ACTION[Server]: (REMOVED) leaves game. List of players: 2023-10-03 13:30:29: ERROR[Main]: ServerError: AsyncErr: Lua: Runtime error from mod 'coloredwood' in callback item_OnPlace(): ...ames/minetest_game/mods/moreblocks/stairsplus/common.lua:77: attempt to perform arithmetic on a nil value 2023-10-03 13:30:29: ERROR[Main]: stack traceback: 2023-10-03 13:30:29: ERROR[Main]: ...ames/minetest_game/mods/moreblocks/stairsplus/common.lua:77: in function <...ames/minetest_game/mods/moreblocks/stairsplus/common.lua:42>

I filed a report on the coloredwood Github page, and it turns out it's a moreblocks issue.

https://github.com/mt-mods/coloredwood/issues/2