mirror of
https://github.com/minetest-mods/technic.git
synced 2024-08-20 05:24:11 +02: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)
|
||||
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user