forked from VoxeLibre/VoxeLibre
[mcl_maps] Put missing percent character :)
This commit is contained in:
parent
4d5af781e8
commit
2d9dfec424
|
@ -33,7 +33,7 @@ function mcl_maps.create_map(pos)
|
|||
|
||||
local itemstack = ItemStack("mcl_maps:filled_map")
|
||||
local meta = itemstack:get_meta()
|
||||
local id = string.format(".0f", minetest.hash_node_position(pos))
|
||||
local id = string.format("%.0f", minetest.hash_node_position(minp))
|
||||
meta:set_string("mcl_maps:id", id)
|
||||
meta:set_string("mcl_maps:minp", minetest.pos_to_string(minp))
|
||||
meta:set_string("mcl_maps:maxp", minetest.pos_to_string(maxp))
|
||||
|
|
Loading…
Reference in New Issue