wiki: adjust checkradius for object destruct

This commit is contained in:
Milan* 2017-05-27 15:05:51 +02:00
parent 6e5398383a
commit 2de362f308

View File

@ -8,7 +8,7 @@ function illuna.wikiconstruct(pos)
end
function illuna.wikidestruct(pos)
for _, obj in pairs(minetest.get_objects_inside_radius(pos, 0.9)) do
for _, obj in pairs(minetest.get_objects_inside_radius(pos, 0.96)) do
if obj and obj:get_luaentity() and
obj:get_luaentity().name == "illuna:wikitop" then
obj:remove()
@ -48,9 +48,6 @@ minetest.register_entity("illuna:wikitop", {
end
})
--
--
minetest.register_craftitem("illuna:wikitop", {
inventory_image = "illuna_wikitop.png",
})