0
0
Fork 0

Swiming coment

This commit is contained in:
epCode 2021-02-06 17:44:30 -08:00
parent adbfd6b55d
commit 38f70561c5
1 changed files with 1 additions and 0 deletions

View File

@ -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