forked from MineClone5/MineClone5
Swiming coment
This commit is contained in:
parent
adbfd6b55d
commit
38f70561c5
|
@ -151,6 +151,7 @@ minetest.register_globalstep(function(dtime)
|
|||
animation_speed_mod = animation_speed_mod / 2
|
||||
end
|
||||
|
||||
-- ask if player is swiming
|
||||
local standing_on_water = minetest.get_item_group(mcl_playerinfo[name].node_stand, "water") ~= 0
|
||||
|
||||
-- Apply animations based on what the player is doing
|
||||
|
|
Loading…
Reference in New Issue