Fix animate_player crashing the game

Resolves "attempt to call field 'animate_player' (a table value)"
This commit is contained in:
Ada Ahmed 2025-06-28 05:24:38 +01:00 committed by GitHub
parent 259e741282
commit 5e0adc2969
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -79,7 +79,10 @@ local function activate_nametag(self)
})
end
animalia.animate_player = {}
local function animate_player_stub(arg1, arg2, arg3)
end
animalia.animate_player = animate_player_stub
if minetest.get_modpath("default")
and minetest.get_modpath("player_api") then