Open SwissalpS opened 2 years ago
alternatively pipeworks has a is fakeplayer method
yes, I am aware and don't use it by choice. This covers other mods doing similar things that don't have that field/method.
Universal method for testing fake player would be type(player) ~= 'userdata'
as all C++ backed instances are userdata
type while Lua based fake player is table
type.
The callstack in question:
I tried to reproduce this but somehow it doesn't trigger the error :/
EDIT: nevermind, worked with the "wood" sign
Just for context: the person triggeringreporting this error might have taken a message of me in the minetest-discord too serious/personal:
Yesterday:
And now this morning with presumably his alt:
I hot-patched https://github.com/mt-mods/signs_lib/commit/14efa6eeb7b46c61f35dc55ebd3aa1b25f818671 without testing.