mirror of
https://github.com/minetest/minetest_game.git
synced 2024-12-22 23:10:17 +01:00
player_api - fix compatibility code
This commit is contained in:
commit
a840ac0a4d
@ -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")
|
minetest.log("warning", api_function .. " called on offline player")
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
original_function(player, ...)
|
return original_function(player, ...)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user