mirror of
https://git.minetest.land/Mineclonia/Mineclonia.git
synced 2024-11-24 16:25:10 +00:00
Tweak shears durability
This commit is contained in:
parent
e62b91a70a
commit
a253d59729
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ mobs:register_mob("mobs_mc:sheep", {
|
||||||
textures = {"mobs_sheep_sheared.png"},
|
textures = {"mobs_sheep_sheared.png"},
|
||||||
})
|
})
|
||||||
if not minetest.setting_getbool("creative_mode") then
|
if not minetest.setting_getbool("creative_mode") then
|
||||||
item:add_wear(300)
|
item:add_wear(65535/238)
|
||||||
clicker:get_inventory():set_stack("main", clicker:get_wield_index(), item)
|
clicker:get_inventory():set_stack("main", clicker:get_wield_index(), item)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue