mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-19 09:31:07 +01:00
fixed comment about creative
This commit is contained in:
parent
fbfc53ff42
commit
68e1fdde36
1 changed files with 1 additions and 2 deletions
|
@ -4427,8 +4427,7 @@ function mcl_mobs:feed_tame(self, clicker, feed_count, breed, tame, notake)
|
||||||
end
|
end
|
||||||
|
|
||||||
update_tag(self)
|
update_tag(self)
|
||||||
|
-- play a sound if the animal used the item and take the item if not in creative
|
||||||
-- if not in creative then take item if it was used
|
|
||||||
if consume_food then
|
if consume_food then
|
||||||
-- don't consume food if clicker is in creative
|
-- don't consume food if clicker is in creative
|
||||||
if not minetest.is_creative_enabled(clicker:get_player_name()) and not notake then
|
if not minetest.is_creative_enabled(clicker:get_player_name()) and not notake then
|
||||||
|
|
Loading…
Reference in a new issue