mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Replace deprecated call to add_player_velocity in builtin (#10968)
This commit is contained in:
parent
f85e9ab925
commit
b2ab5fd161
1 changed files with 1 additions and 1 deletions
|
@ -42,5 +42,5 @@ core.register_on_punchplayer(function(player, hitter, time_from_last_punch, tool
|
|||
return -- barely noticeable, so don't even send
|
||||
end
|
||||
|
||||
player:add_player_velocity(kdir)
|
||||
player:add_velocity(kdir)
|
||||
end)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue