From 38f70561c575225eaceb3ac34f12d641953b77f4 Mon Sep 17 00:00:00 2001 From: epCode Date: Sat, 6 Feb 2021 17:44:30 -0800 Subject: [PATCH] Swiming coment --- mods/PLAYER/mcl_player/init.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/mods/PLAYER/mcl_player/init.lua b/mods/PLAYER/mcl_player/init.lua index 4ad998f3b..8c72998dc 100644 --- a/mods/PLAYER/mcl_player/init.lua +++ b/mods/PLAYER/mcl_player/init.lua @@ -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