wiki: adjust checkradius for object destruct
This commit is contained in:
parent
6e5398383a
commit
2de362f308
@ -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",
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user