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

View File

@ -65,7 +65,7 @@ local axolotl = {
awards.unlock(clicker:get_player_name(), "mcl:cutestPredator")
return
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,
makes_footstep_sound = false,
fly = true,