mirror of
https://github.com/minetest-mods/technic.git
synced 2024-12-22 13:52:31 +01:00
Fix redundant_warn
This commit is contained in:
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
|
||||||
|
Loading…
Reference in New Issue
Block a user