mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-12-25 02:00:37 +01:00
Fixed mistake in chickens' file
This commit is contained in:
parent
de0b944f81
commit
bd06b0f1ab
@ -83,6 +83,7 @@ mobs:register_mob("mobs:chicken", {
|
|||||||
clicker:get_inventory():add_item("main", "mobs:chicken")
|
clicker:get_inventory():add_item("main", "mobs:chicken")
|
||||||
self.object:remove()
|
self.object:remove()
|
||||||
end
|
end
|
||||||
|
end
|
||||||
if clicker:is_player() and clicker:get_inventory() and self.child == false
|
if clicker:is_player() and clicker:get_inventory() and self.child == false
|
||||||
and clicker:get_inventory():room_for_item("main", "mobs:chicken") then
|
and clicker:get_inventory():room_for_item("main", "mobs:chicken") then
|
||||||
clicker:get_inventory():add_item("main", "mobs:chicken")
|
clicker:get_inventory():add_item("main", "mobs:chicken")
|
||||||
|
Loading…
Reference in New Issue
Block a user