replace core. with minetest.
This commit is contained in:
parent
b01b3a3d66
commit
186b992758
@ -48,7 +48,7 @@ if minetest.get_modpath("builtin_item") then
|
|||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
local objs = core.get_objects_inside_radius(pos, 0.8)
|
local objs = minetest.get_objects_inside_radius(pos, 0.8)
|
||||||
|
|
||||||
if not objs or #objs ~= 2 then return end
|
if not objs or #objs ~= 2 then return end
|
||||||
|
|
||||||
@ -78,7 +78,7 @@ if minetest.get_modpath("builtin_item") then
|
|||||||
mese:remove()
|
mese:remove()
|
||||||
crystal:remove()
|
crystal:remove()
|
||||||
|
|
||||||
core.add_item(pos, "ethereal:crystal_ingot")
|
minetest.add_item(pos, "ethereal:crystal_ingot")
|
||||||
|
|
||||||
return false
|
return false
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user