replace core. with minetest.

This commit is contained in:
tenplus1 2023-05-01 08:08:04 +01:00
parent b01b3a3d66
commit 186b992758

View File

@ -48,7 +48,7 @@ if minetest.get_modpath("builtin_item") then
return
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
@ -78,7 +78,7 @@ if minetest.get_modpath("builtin_item") then
mese:remove()
crystal:remove()
core.add_item(pos, "ethereal:crystal_ingot")
minetest.add_item(pos, "ethereal:crystal_ingot")
return false
end