mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-09-30 00:51:52 +02:00
Make llamas shift click breedable
This commit is contained in:
parent
53c96cae2d
commit
efce97c172
@ -138,6 +138,7 @@ mobs:register_mob("mobs_mc:llama", {
|
||||
return
|
||||
end
|
||||
|
||||
if clicker:get_player_control().sneak then
|
||||
--attempt to enter breed state
|
||||
if mobs.enter_breed_state(self,clicker) then
|
||||
return
|
||||
@ -148,6 +149,7 @@ mobs:register_mob("mobs_mc:llama", {
|
||||
mobs.make_baby_grow_faster(self,clicker)
|
||||
return
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
-- Make sure tamed llama is mature and being clicked by owner only
|
||||
|
Loading…
Reference in New Issue
Block a user