mirror of
https://github.com/ElCeejo/animalia.git
synced 2025-09-22 11:26:43 -04:00
Fix crash, Fix player visual
This commit is contained in:
parent
a79938c09a
commit
8a34dce37c
4 changed files with 38 additions and 35 deletions
|
@ -172,7 +172,7 @@ creatura.register_mob("animalia:chicken", {
|
|||
self:animate("fall")
|
||||
end
|
||||
if self:timer(60) then
|
||||
animalia.random_drop_item("animalia:chicken_egg", 3)
|
||||
animalia.random_drop_item(self, "animalia:chicken_egg", 3)
|
||||
end
|
||||
end,
|
||||
death_func = function(self)
|
||||
|
|
|
@ -161,7 +161,7 @@ creatura.register_mob("animalia:turkey", {
|
|||
self:animate("fall")
|
||||
end
|
||||
if self:timer(60) then
|
||||
animalia.random_drop_item("animalia:chicken_egg", 3)
|
||||
animalia.random_drop_item(self, "animalia:chicken_egg", 3)
|
||||
end
|
||||
end,
|
||||
death_func = function(self)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue