mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-12-23 08:29:34 +01:00
Only use the shears once in dispenser if there are more mobs in front of the dispenser
This commit is contained in:
parent
aa930dc2b8
commit
1a5339e907
1 changed files with 1 additions and 0 deletions
|
@ -217,6 +217,7 @@ local dispenserdef = {
|
|||
minetest.sound_play("mcl_tools_shears_cut", { pos = pos }, true)
|
||||
stack:add_wear(65535 / stackdef._mcl_diggroups.shearsy.uses)
|
||||
inv:set_stack("main", stack_id, stack)
|
||||
break
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue