From 1005c406b1a9ba8737b9a8b0eb1a6cc2fd6fdf3e Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Sun, 12 Mar 2023 16:46:23 +0100 Subject: [PATCH] Remove 2 string.formats --- init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init.lua b/init.lua index 6bba301..df78f0f 100644 --- a/init.lua +++ b/init.lua @@ -165,8 +165,8 @@ if(minetest.get_modpath("technic")) then end if(minetest.get_modpath("mana") ~= nil) then - local dmana = string.format(S("Magical point teleporters are fueled by mana and require %d mana per teleportation."), teletool.settings.cost_mana) - local manause = string.format(S("First make sure you have at least %d mana."), teletool.settings.cost_mana) + local dmana = S("Magical point teleporters are fueled by mana and require @1 mana per teleportation.", string.format("%d", teletool.settings.cost_mana)) + local manause = S("First make sure you have at least @1 mana.", string.format("%d", teletool.settings.cost_mana)) local desc_mana = base .. "\n" .. dmana local use_mana = manause .. " " .. baseuse