mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-12-26 03:07:32 +01:00
Don't give item after punching saddled horse
This commit is contained in:
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
Block a user