From 7b76829046a3b0c310fe81114d212adddf039415 Mon Sep 17 00:00:00 2001 From: tenplus1 Date: Fri, 13 Oct 2023 08:30:57 +0100 Subject: [PATCH] use api functions for kitten --- kitten.lua | 4 ++-- locale/mobs_animal.pt.tr | 2 +- locale/mobs_animal.pt_BR.tr | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/kitten.lua b/kitten.lua index 550df5b..821fb6e 100644 --- a/kitten.lua +++ b/kitten.lua @@ -101,10 +101,10 @@ mobs:register_mob("mobs_animal:kitten", { self.order = "stand" self.state = "stand" self.object:set_velocity({x = 0, y = 0, z = 0}) - mobs:set_animation(self, "stand") + self:set_animation("stand") else self.order = "" - mobs:set_animation(self, "stoodup") + self:set_animation("stoodup") end end end, diff --git a/locale/mobs_animal.pt.tr b/locale/mobs_animal.pt.tr index 60d9f5c..0ed5bd2 100644 --- a/locale/mobs_animal.pt.tr +++ b/locale/mobs_animal.pt.tr @@ -1,4 +1,4 @@ -# textdomain: Lunovox Heavenfinder (https://libreplanet.org/wiki/User:Lunovox) +# textdomain:mobs_animal Bee=Abelha Honey=Mel Beehive=Colméia diff --git a/locale/mobs_animal.pt_BR.tr b/locale/mobs_animal.pt_BR.tr index 60d9f5c..0ed5bd2 100644 --- a/locale/mobs_animal.pt_BR.tr +++ b/locale/mobs_animal.pt_BR.tr @@ -1,4 +1,4 @@ -# textdomain: Lunovox Heavenfinder (https://libreplanet.org/wiki/User:Lunovox) +# textdomain:mobs_animal Bee=Abelha Honey=Mel Beehive=Colméia