From c790b3ed5a694346d2a2026b2223a1644d36280d Mon Sep 17 00:00:00 2001 From: Joachim Stolberg Date: Mon, 11 Jul 2022 20:33:41 +0200 Subject: [PATCH] built on 11/07/2022 20:33:41 --- README.md | 6 ++++-- stamina/init.lua | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index f7d5006..cdf7baf 100644 --- a/README.md +++ b/README.md @@ -50,8 +50,10 @@ ta4_jetpack requires the modpack 3d_armor. 3d_armor is itself a modpack and can' #### 2022-07-11 Updated Mods: -- techage (fusion reactor added) - +- techage V1.08 with improvements and bug fixes +- tubelib2 +- unified_inventory +- lcdlib #### 2022-01-28 diff --git a/stamina/init.lua b/stamina/init.lua index 9cacb12..86a3bee 100644 --- a/stamina/init.lua +++ b/stamina/init.lua @@ -333,7 +333,7 @@ local function move_tick() for _,player in ipairs(minetest.get_connected_players()) do local controls = player:get_player_control() local is_moving = controls.up or controls.down or controls.left or controls.right - local velocity = player:get_player_velocity() + local velocity = player:get_velocity() velocity.y = 0 local horizontal_speed = vector.length(velocity) local has_velocity = horizontal_speed > 0.05