mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2025-01-10 17:19:35 +01:00
Fix another bug
This commit is contained in:
parent
de9d838642
commit
99b5dff849
1 changed files with 1 additions and 1 deletions
|
@ -198,7 +198,7 @@ minetest.register_globalstep(function(dtime)
|
|||
end
|
||||
|
||||
-- Swimming? Check if boots are enchanted with depth strider
|
||||
if minetest.get_item_group(node_feet, "liquid") and mcl_enchanting.get_enchantment(player:get_inventory():get_stack("armor", 5), "depth_strider") then
|
||||
if minetest.get_item_group(node_feet, "liquid") ~= 0 and mcl_enchanting.get_enchantment(player:get_inventory():get_stack("armor", 5), "depth_strider") then
|
||||
local boots = player:get_inventory():get_stack("armor", 5)
|
||||
local depth_strider = mcl_enchanting.get_enchantment(boots, "depth_strider")
|
||||
|
||||
|
|
Loading…
Reference in a new issue