diff options
author | Elias Fleckenstein <54945686+EliasFleckenstein03@users.noreply.github.com> | 2021-02-18 15:39:04 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-18 14:39:04 +0000 |
commit | b2ab5fd1615ac5f907e43992d0905a56cddf798f (patch) | |
tree | 3f4a6d3e96a92b64e24588995a69431ef5ba88af /builtin/game | |
parent | f85e9ab9254e2ae4ac13170f9edea00fb8d931a2 (diff) | |
download | minetest-b2ab5fd1615ac5f907e43992d0905a56cddf798f.tar.gz minetest-b2ab5fd1615ac5f907e43992d0905a56cddf798f.tar.bz2 minetest-b2ab5fd1615ac5f907e43992d0905a56cddf798f.zip |
Replace deprecated call to add_player_velocity in builtin (#10968)
Diffstat (limited to 'builtin/game')
-rw-r--r-- | builtin/game/knockback.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/game/knockback.lua b/builtin/game/knockback.lua index b5c4cbc5a..a937aa186 100644 --- a/builtin/game/knockback.lua +++ b/builtin/game/knockback.lua @@ -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) |