1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-11-05 18:10:26 +01:00
Oops
This commit is contained in:
Ombridride 2015-03-31 19:42:17 +02:00
parent 4eea01fb13
commit 0a9f28dc87

View File

@ -83,9 +83,6 @@ 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
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")