From 68e1fdde36cf597e720872877f8943b9b4e8929f Mon Sep 17 00:00:00 2001 From: Sumyjkl Date: Wed, 20 Jul 2022 14:16:06 +1000 Subject: [PATCH] fixed comment about creative --- mods/ENTITIES/mcl_mobs/api.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mods/ENTITIES/mcl_mobs/api.lua b/mods/ENTITIES/mcl_mobs/api.lua index 99af36e09f..98c4cd5ffe 100644 --- a/mods/ENTITIES/mcl_mobs/api.lua +++ b/mods/ENTITIES/mcl_mobs/api.lua @@ -4427,8 +4427,7 @@ function mcl_mobs:feed_tame(self, clicker, feed_count, breed, tame, notake) end update_tag(self) - - -- if not in creative then take item if it was used + -- play a sound if the animal used the item and take the item if not in creative if consume_food then -- don't consume food if clicker is in creative if not minetest.is_creative_enabled(clicker:get_player_name()) and not notake then