Don't give item after punching saddled horse
parent
f023a1962f
commit
f8685e6941
|
@ -78,7 +78,6 @@ local horse = {
|
|||
|
||||
on_punch = function(self, puncher, time_from_last_punch, tool_capabilities, direction)
|
||||
if puncher and puncher:is_player() then
|
||||
puncher:get_inventory():add_item("main", self.name)
|
||||
self.object:remove()
|
||||
end
|
||||
end,
|
||||
|
|
Loading…
Reference in New Issue