diff --git a/.editorconfig b/.editorconfig index a362033..2493e85 100644 --- a/.editorconfig +++ b/.editorconfig @@ -4,6 +4,7 @@ root = true charset = utf-8 indent_size = 4 indent_style = tab +insert_final_newline = false trim_trailing_whitespace = true [{locale/template,locale/*.tr}] diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..32a0dd5 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +.* export-ignore \ No newline at end of file diff --git a/mover.lua b/mover.lua index 4b53fb6..0efc994 100644 --- a/mover.lua +++ b/mover.lua @@ -912,7 +912,7 @@ minetest.register_node("basic_machines:mover", { local palette_index = tonumber(inv_stack:get_meta():get("palette_index")) if palette_index then stack:get_meta():set_int("palette_index", palette_index) - match_meta = true; node1.param1, node1.param2 = nil, palette_index + 2 + match_meta = true; node1.param1, node1.param2 = nil, palette_index end end