From 2d9dfec42472525bab3699aaa110c26e2bcfcd74 Mon Sep 17 00:00:00 2001 From: kay27 Date: Mon, 10 May 2021 05:32:11 +0400 Subject: [PATCH] [mcl_maps] Put missing percent character :) --- mods/ITEMS/mcl_maps/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/ITEMS/mcl_maps/init.lua b/mods/ITEMS/mcl_maps/init.lua index 47bb1a7154..20d0180ef7 100644 --- a/mods/ITEMS/mcl_maps/init.lua +++ b/mods/ITEMS/mcl_maps/init.lua @@ -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))