1
0
mirror of https://codeberg.org/tenplus1/mobs_redo.git synced 2024-12-23 17:20: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 = {
mod = "redo",
version = "20200904",
version = "20200905",
intllib = S,
invis = minetest.global_exists("invisibility") and invisibility or {}
}
@ -4588,6 +4588,8 @@ function mobs:feed_tame(self, clicker, feed_count, breed, tame)
.. ";" .. tag .. "]"
.. "button_exit[2.5,3.5;3,1;mob_rename;"
.. minetest.formspec_escape(S("Rename")) .. "]")
return true
end
return false