ElCeejo / animalia

Basic Fauna for Minetest Game
MIT License
14 stars 37 forks source link

server crash #45

Closed netzwanze closed 11 months ago

netzwanze commented 1 year ago

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>

frmayall1978 commented 1 year ago

I have the same issue. Not found a solution yet. Anyone?

ElCeejo commented 11 months ago

Can't recreate this after the last commit.