1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-11-13 05:50:31 +01:00

Fixed mistake in chickens' file

This commit is contained in:
LeMagnesium 2015-03-31 19:53:26 +02:00
parent de0b944f81
commit bd06b0f1ab

View File

@ -83,6 +83,7 @@ mobs:register_mob("mobs:chicken", {
clicker:get_inventory():add_item("main", "mobs:chicken")
self.object:remove()
end
end
if clicker:is_player() and clicker:get_inventory() and self.child == false
and clicker:get_inventory():room_for_item("main", "mobs:chicken") then
clicker:get_inventory():add_item("main", "mobs:chicken")