mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-26 04:21:07 +01:00
Don't give item after punching saddled horse
This commit is contained in:
parent
f023a1962f
commit
f8685e6941
1 changed files with 0 additions and 1 deletions
|
@ -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 a new issue