From 215de5487bd9888efc3723e3926fcf0d8a0e6ae4 Mon Sep 17 00:00:00 2001 From: Ekdohibs Date: Sat, 13 Jan 2018 10:30:22 +0100 Subject: [PATCH] Fix redundant_warn --- technic/machines/switching_station.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/technic/machines/switching_station.lua b/technic/machines/switching_station.lua index dcc0520..d924cb1 100644 --- a/technic/machines/switching_station.lua +++ b/technic/machines/switching_station.lua @@ -242,8 +242,8 @@ minetest.register_abm({ local poshash = minetest.hash_node_position(pos) - if not technic.redundant_warn.poshash then - technic.redundant_warn.poshash = true + if not technic.redundant_warn[poshash] then + technic.redundant_warn[poshash] = true print("[TECHNIC] Warning: redundant switching station found near "..minetest.pos_to_string(pos)) end return