minetest-mods / drawers

[MTG/MCL2] A Minetest Mod adding storage drawers in different sizes and wood types.
Other
19 stars 26 forks source link

Crash when sending a digiline signal which is non-coercible to an ItemStack to a drawer controller #93

Closed birdlover32767 closed 3 weeks ago

birdlover32767 commented 2 months ago

I discovered this bug when trying to fix something on the Pandorabox server.

How to reproduce

Send a digiline signal that is not a string, nil, or a table to a drawer controller. The drawer controller will then try to coerce it into a ItemStack, causing a crash.

The game crashes at /lua/controller.lua:381.

SmallJoker commented 3 weeks ago

Engine crashes are when Minetest/Luanti exits entirely and optionally creates a crash dump file. Errors are mostly caused by mods and shut down the server gracefully and put any connected clients back to the main menu.

Fixed in b92bf0a. Please @ me to raise my attention.