From 01332a7ba11f10e59f42ee40203e231c31ad0079 Mon Sep 17 00:00:00 2001 From: tuedel Date: Fri, 31 Jul 2020 22:26:58 +0200 Subject: Replace deprecated getpos() calls (#522) --- mesecons_detector/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mesecons_detector') diff --git a/mesecons_detector/init.lua b/mesecons_detector/init.lua index cdc7f92..1234378 100644 --- a/mesecons_detector/init.lua +++ b/mesecons_detector/init.lua @@ -239,7 +239,7 @@ local node_detector_digiline = { } local function after_place_node_detector(pos, placer) - local placer_pos = placer:getpos() + local placer_pos = placer:get_pos() if not placer_pos then return end -- cgit v1.2.3