Remove some mob chat messages
parent
4099bd6f71
commit
e0712ff077
|
@ -2965,10 +2965,6 @@ function mobs:feed_tame(self, clicker, feed_count, breed, tame)
|
||||||
|
|
||||||
if self.htimer < 1 then
|
if self.htimer < 1 then
|
||||||
|
|
||||||
minetest.chat_send_player(clicker:get_player_name(),
|
|
||||||
S("@1 at full health (@2)",
|
|
||||||
self.name:split(":")[2], tostring(self.health)))
|
|
||||||
|
|
||||||
self.htimer = 5
|
self.htimer = 5
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -2999,12 +2995,6 @@ function mobs:feed_tame(self, clicker, feed_count, breed, tame)
|
||||||
|
|
||||||
if tame then
|
if tame then
|
||||||
|
|
||||||
if self.tamed == false then
|
|
||||||
minetest.chat_send_player(clicker:get_player_name(),
|
|
||||||
S("@1 has been tamed!",
|
|
||||||
self.name:split(":")[2]))
|
|
||||||
end
|
|
||||||
|
|
||||||
self.tamed = true
|
self.tamed = true
|
||||||
|
|
||||||
if not self.owner or self.owner == "" then
|
if not self.owner or self.owner == "" then
|
||||||
|
|
Loading…
Reference in New Issue