Locally the mod works fine. but on a server the mod leads to crash when i hit an animal.
5.6 mineclone2
Is animalia or creatura the problem?
2023-04-09 17:03:30: ERROR[Main]: ServerError: AsyncErr: Lua: Runtime error from mod '??' in callback luaentity_Punch(): .../bin/../games/mineclone2/mods/HUD/mcl_inventory/init.lua:195: bad argument #1 to 'get_player_by_name' (string expected, got userdata) 2023-04-09 17:03:30: ERROR[Main]: stack traceback: 2023-04-09 17:03:30: ERROR[Main]: [C]: in function 'get_player_by_name' 2023-04-09 17:03:30: ERROR[Main]: .../bin/../games/mineclone2/mods/HUD/mcl_inventory/init.lua:195: in function 'is_creative_enabled' 2023-04-09 17:03:30: ERROR[Main]: /home/jowenzel/minetest/bin/../mods/creatura/api.lua:448: in function 'basic_punch_func' 2023-04-09 17:03:30: ERROR[Main]: /home/jowenzel/minetest/bin/../mods/animalia/api/api.lua:605: in function </home/jowenzel/minetest/bin/../mods/animalia/api/api.lua:603>
Hi,
thanks for the mod.
Locally the mod works fine. but on a server the mod leads to crash when i hit an animal.
5.6 mineclone2
Is animalia or creatura the problem?
2023-04-09 17:03:30: ERROR[Main]: ServerError: AsyncErr: Lua: Runtime error from mod '??' in callback luaentity_Punch(): .../bin/../games/mineclone2/mods/HUD/mcl_inventory/init.lua:195: bad argument #1 to 'get_player_by_name' (string expected, got userdata) 2023-04-09 17:03:30: ERROR[Main]: stack traceback: 2023-04-09 17:03:30: ERROR[Main]: [C]: in function 'get_player_by_name' 2023-04-09 17:03:30: ERROR[Main]: .../bin/../games/mineclone2/mods/HUD/mcl_inventory/init.lua:195: in function 'is_creative_enabled' 2023-04-09 17:03:30: ERROR[Main]: /home/jowenzel/minetest/bin/../mods/creatura/api.lua:448: in function 'basic_punch_func' 2023-04-09 17:03:30: ERROR[Main]: /home/jowenzel/minetest/bin/../mods/animalia/api/api.lua:605: in function </home/jowenzel/minetest/bin/../mods/animalia/api/api.lua:603>