Prevent placement of apples (#993)
* Disallow Apple Placement * remove changes * re-apply changes * code cleanup
This commit is contained in:
parent
45b9c4c382
commit
69d8cabc76
@ -109,6 +109,10 @@ minetest.override_item("default:apple", {
|
||||
return minetest.item_eat(3)(itemstack, user, ...)
|
||||
end
|
||||
end,
|
||||
after_place_node = nil,
|
||||
on_place = function()
|
||||
return nil
|
||||
end
|
||||
})
|
||||
|
||||
local function furnace_on_destruct(pos)
|
||||
|
Loading…
x
Reference in New Issue
Block a user