Fix redundant_warn

This commit is contained in:
Ekdohibs 2018-01-13 10:30:22 +01:00
parent 930c51eef9
commit 215de5487b

@ -242,8 +242,8 @@ minetest.register_abm({
local poshash = minetest.hash_node_position(pos) local poshash = minetest.hash_node_position(pos)
if not technic.redundant_warn.poshash then if not technic.redundant_warn[poshash] then
technic.redundant_warn.poshash = true technic.redundant_warn[poshash] = true
print("[TECHNIC] Warning: redundant switching station found near "..minetest.pos_to_string(pos)) print("[TECHNIC] Warning: redundant switching station found near "..minetest.pos_to_string(pos))
end end
return return