forked from Mineclonia/Mineclonia
Set label for 'The Killer Bunny' as attribute
This commit is contained in:
parent
fda2d41b4e
commit
fe9c998ba2
|
@ -97,12 +97,8 @@ killer_bunny.replace_rate = nil
|
||||||
killer_bunny.replace_what = nil
|
killer_bunny.replace_what = nil
|
||||||
killer_bunny.on_rightclick = nil
|
killer_bunny.on_rightclick = nil
|
||||||
killer_bunny.run_velocity = 6
|
killer_bunny.run_velocity = 6
|
||||||
killer_bunny.do_custom = function(self)
|
killer_bunny.nametag = S("The Killer Bunny")
|
||||||
if not self._killer_bunny_nametag_set then
|
|
||||||
self.nametag = S("The Killer Bunny")
|
|
||||||
self._killer_bunny_nametag_set = true
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
mobs:register_mob("mobs_mc:killer_bunny", killer_bunny)
|
mobs:register_mob("mobs_mc:killer_bunny", killer_bunny)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue