master
runs 2020-05-04 01:48:06 +02:00
parent c0aec98bca
commit c1909dc18a
1 changed files with 1 additions and 1 deletions

View File

@ -117,10 +117,10 @@ petz.timer = function(self)
end
petz.abandon_pet = function(self)
minetest.chat_send_player(self.owner, S("Your").." "..self.type.." "..S("has abandoned you!!!"))
petz.delete_nametag(self)
mokapi.remove_owner(self) --the pet abandon you
petz.remove_tamed_by_owner(self, true)
petz.drop_dreamcatcher(self)
self.init_tamagochi_timer = false -- no more timing
minetest.chat_send_player(self.owner, S("Your").." "..self.type.." "..S("has abandoned you!!!"))
end