mirror of
https://github.com/ElCeejo/animalia.git
synced 2025-03-21 15:21:22 +00:00
Fix bug
This commit is contained in:
parent
2999966fc0
commit
325dc1609a
2 changed files with 2 additions and 2 deletions
|
@ -175,7 +175,7 @@ creatura.register_mob("animalia:chicken", {
|
||||||
self:set_gravity(-4.9)
|
self:set_gravity(-4.9)
|
||||||
self:animate("fall")
|
self:animate("fall")
|
||||||
end
|
end
|
||||||
if (self.growth_scale or 1) < 0.8
|
if (self.growth_scale or 1) > 0.8
|
||||||
and self.gender == "female"
|
and self.gender == "female"
|
||||||
and self:timer(60) then
|
and self:timer(60) then
|
||||||
animalia.random_drop_item(self, "animalia:chicken_egg", 10)
|
animalia.random_drop_item(self, "animalia:chicken_egg", 10)
|
||||||
|
|
|
@ -163,7 +163,7 @@ creatura.register_mob("animalia:turkey", {
|
||||||
self:set_gravity(-4.9)
|
self:set_gravity(-4.9)
|
||||||
self:animate("fall")
|
self:animate("fall")
|
||||||
end
|
end
|
||||||
if (self.growth_scale or 1) < 0.8
|
if (self.growth_scale or 1) > 0.8
|
||||||
and self.gender == "female"
|
and self.gender == "female"
|
||||||
and self:timer(60) then
|
and self:timer(60) then
|
||||||
animalia.random_drop_item(self, "animalia:turkey_egg", 10)
|
animalia.random_drop_item(self, "animalia:turkey_egg", 10)
|
||||||
|
|
Loading…
Add table
Reference in a new issue