1
0
mirror of https://codeberg.org/tenplus1/mobs_redo.git synced 2024-12-24 01:30:22 +01:00

fix nametag return

This commit is contained in:
TenPlus1 2020-09-05 18:15:21 +01:00
parent 89523195d5
commit bd8be0905a

View File

@ -9,7 +9,7 @@ local use_cmi = minetest.global_exists("cmi")
mobs = { mobs = {
mod = "redo", mod = "redo",
version = "20200904", version = "20200905",
intllib = S, intllib = S,
invis = minetest.global_exists("invisibility") and invisibility or {} invis = minetest.global_exists("invisibility") and invisibility or {}
} }
@ -4588,6 +4588,8 @@ function mobs:feed_tame(self, clicker, feed_count, breed, tame)
.. ";" .. tag .. "]" .. ";" .. tag .. "]"
.. "button_exit[2.5,3.5;3,1;mob_rename;" .. "button_exit[2.5,3.5;3,1;mob_rename;"
.. minetest.formspec_escape(S("Rename")) .. "]") .. minetest.formspec_escape(S("Rename")) .. "]")
return true
end end
return false return false