Merge pull request 'Fix Axelotl crash for right click' (#3057) from axelotl_fix into master

Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/3057
Reviewed-by: 𝕵𝖔𝖍𝖆𝖓𝖓𝖊𝖘 𝕱𝖗𝖎𝖙𝖟 <mrrar@noreply.git.minetest.land>
This commit is contained in:
𝕵𝖔𝖍𝖆𝖓𝖓𝖊𝖘 𝕱𝖗𝖎𝖙𝖟 2022-12-04 18:04:02 +00:00
commit 71a03bff6f

@ -65,7 +65,7 @@ local axolotl = {
awards.unlock(clicker:get_player_name(), "mcl:cutestPredator") awards.unlock(clicker:get_player_name(), "mcl:cutestPredator")
return return
end end
if mcl_mobs:feed_tame(self, clicker, 1, true, false) then return end if self:feed_tame(clicker, 1, true, false) then return end
end, end,
makes_footstep_sound = false, makes_footstep_sound = false,
fly = true, fly = true,