set chest color meta as int, not string

This commit is contained in:
OgelGames 2020-11-19 13:44:32 +11:00 committed by GitHub
parent d3d8c0f8ad
commit f56e43b830

View File

@ -227,7 +227,7 @@ function technic.chests.get_receive_fields(data)
node.name = data.node_name
end
minetest.swap_node(pos, node)
meta:set_string("color", i)
meta:set_int("color", i)
break
end
end