Skip to content
Snippets Groups Projects
Commit 2de362f3 authored by Milan's avatar Milan
Browse files

wiki: adjust checkradius for object destruct

parent 6e539838
No related branches found
No related tags found
No related merge requests found
......@@ -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",
})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment