Update Fork #1

Merged
chmodsayshello merged 696 commits from MineClone5/MineClone5:master into master 2022-03-23 14:40:26 +01:00
1 changed files with 6 additions and 1 deletions
Showing only changes of commit 5cda117073 - Show all commits

View File

@ -197,7 +197,12 @@ local function remove_shield_hud(player)
set_shield(player, false, 1) set_shield(player, false, 1)
set_shield(player, false, 2) set_shield(player, false, 2)
end end
local hf=player:hud_get_flags()
if not hf.wielditem then
player:hud_set_flags({wielditem = true}) player:hud_set_flags({wielditem = true})
end
playerphysics.remove_physics_factor(player, "speed", "shield_speed") playerphysics.remove_physics_factor(player, "speed", "shield_speed")
set_interact(player, true) set_interact(player, true)
end end