From 126804970654ad269dc6e0e53f7711a64ecadc85 Mon Sep 17 00:00:00 2001 From: Louis <55180044+louisroyer@users.noreply.github.com> Date: Sun, 27 Sep 2020 12:04:13 +0200 Subject: [PATCH] Remove string.lower so item name is correctly translated --- portal_api.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/portal_api.lua b/portal_api.lua index 8dfa265..57e1658 100644 --- a/portal_api.lua +++ b/portal_api.lua @@ -1780,7 +1780,7 @@ local function create_book_of_portals() ignition_item_description = minetest.registered_items[ignition_item_name].description end intro_text = intro_text .. - S("\n\nThe key to opening such a doorway is to strike the frame with a @1, at which point the very air inside begins to crackle and glow.", string.lower(ignition_item_description)) + S("\n\nThe key to opening such a doorway is to strike the frame with a @1, at which point the very air inside begins to crackle and glow.", ignition_item_description) chapters[#chapters + 1] = {text = intro_text} @@ -2388,4 +2388,4 @@ function nether.find_nearest_working_portal(portal_name, anchorPos, distance_lim end end return nil -end \ No newline at end of file +end