-2
mover: fix palette_index, editorconfig: no newline, add gitattributes
This commit is contained in:
parent
615ba06213
commit
1d492fa105
@ -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}]
|
||||
|
1
.gitattributes
vendored
Normal file
1
.gitattributes
vendored
Normal file
@ -0,0 +1 @@
|
||||
.* export-ignore
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user