mirror of
https://github.com/luanti-org/minetest_game.git
synced 2025-03-15 04:11:24 +00:00
player_api - fix compatibility code
get_animation does not return the data if called from outside without this change
This commit is contained in:
parent
e02e55fafd
commit
584a6a2102
1 changed files with 1 additions and 1 deletions
|
@ -218,6 +218,6 @@ for _, api_function in pairs({"get_animation", "set_animation", "set_model", "se
|
|||
minetest.log("warning", api_function .. " called on offline player")
|
||||
return
|
||||
end
|
||||
original_function(player, ...)
|
||||
return original_function(player, ...)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue