Skip to content

Commit

Permalink
try again to remove animal nametag
Browse files Browse the repository at this point in the history
  • Loading branch information
Elkien3 committed Dec 17, 2022
1 parent 8c7313f commit bba6e10
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mods/mobs_redo/api.lua
Original file line number Diff line number Diff line change
Expand Up @@ -785,7 +785,7 @@ function mob_class:update_tag()

-- set changes
self.object:set_properties({
--nametag = self.nametag,
nametag = "",
--nametag_color = col,
infotext = self.infotext
})
Expand Down
2 changes: 1 addition & 1 deletion mods/mobs_redo/crafts.lua
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ minetest.register_tool(":mobs:mob_reset_stick", {
obj2:set_velocity({x = 0, y = self.jump_height, z = 0})
end

--obj2:set_properties({nametag = self.nametag})
obj2:set_properties({nametag = ""})

obj:remove()
end
Expand Down

0 comments on commit bba6e10

Please sign in to comment.