Prevent placement of apples (#993)

* Disallow Apple Placement

* remove changes

* re-apply changes

* code cleanup
This commit is contained in:
Anthony-De 2022-03-18 14:23:16 -04:00 committed by GitHub
parent 45b9c4c382
commit 69d8cabc76
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)