Swiming coment
This commit is contained in:
parent
adbfd6b55d
commit
38f70561c5
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Reference in a new issue