summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--technic/machines/HV/forcefield.lua2
-rw-r--r--technic/machines/other/frames.lua8
2 files changed, 5 insertions, 5 deletions
diff --git a/technic/machines/HV/forcefield.lua b/technic/machines/HV/forcefield.lua
index 522f5e0..0f0836d 100644
--- a/technic/machines/HV/forcefield.lua
+++ b/technic/machines/HV/forcefield.lua
@@ -253,7 +253,7 @@ minetest.register_node("technic:forcefield", {
if minetest.get_modpath("mesecons_mvps") then
- mesecon:register_mvps_stopper("technic:forcefield")
+ mesecon.register_mvps_stopper("technic:forcefield")
end
technic.register_machine("HV", "technic:forcefield_emitter_on", technic.receiver)
diff --git a/technic/machines/other/frames.lua b/technic/machines/other/frames.lua
index 427e60b..b3f39b9 100644
--- a/technic/machines/other/frames.lua
+++ b/technic/machines/other/frames.lua
@@ -120,7 +120,7 @@ local function move_nodes_vect(poslist,vect,must_not_move,owner)
for _, pos in ipairs(poslist) do
for _,object in ipairs(minetest.get_objects_inside_radius(pos, 1)) do
local entity = object:get_luaentity()
- if not entity or not mesecon:is_mvps_unmov(entity.name) then
+ if not entity or not mesecon.is_mvps_unmov(entity.name) then
add_table(objects, object)
end
end
@@ -465,9 +465,9 @@ minetest.register_entity("technic:damage_entity", {
end,
})
-mesecon:register_mvps_unmov("technic:frame_entity")
-mesecon:register_mvps_unmov("technic:damage_entity")
-mesecon:register_on_mvps_move(function(moved_nodes)
+mesecon.register_mvps_unmov("technic:frame_entity")
+mesecon.register_mvps_unmov("technic:damage_entity")
+mesecon.register_on_mvps_move(function(moved_nodes)
local to_move = {}
for _, n in ipairs(moved_nodes) do
if frames_pos[pos_to_string(n.oldpos)] ~= nil then