ac-minetest / basic_machines

Simple automation mod for minetest
17 stars 22 forks source link

Server Crash basic_machines:mover #47

Open TEbinger opened 3 years ago

TEbinger commented 3 years ago

We had several server crash on Minetesbildungsnetzwerk Server, Log Entry: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: allow_metadata_inventory_put should return a number, guilty node: basic_machines:mover

What can we do to avoid this?

waxtatect commented 3 years ago

if you are using the latest version, i suggest you to change those lines in mover.lua: lines 331 and 368: if minetest.is_protected(pos,player:get_player_name()) then return end to if minetest.is_protected(pos,player:get_player_name()) then return 0 end

TEbinger commented 3 years ago

Thank You, I will try if that helps fixing the bug.

do0dleme commented 2 years ago

encountered this issue too and tried that aforementioned fix, server hasn't crashed since then. observing but I think it worked.