From 49ae4fe850e25e8eb98e62b2ac0abefaf8893102 Mon Sep 17 00:00:00 2001 From: qq Date: Sat, 24 Aug 2024 02:22:36 +0700 Subject: [PATCH] fix string.format() omission in OpenOS package.lua (#3731) --- .../resources/assets/opencomputers/loot/openos/lib/package.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/assets/opencomputers/loot/openos/lib/package.lua b/src/main/resources/assets/opencomputers/loot/openos/lib/package.lua index ce85597a9c..5a794d5034 100644 --- a/src/main/resources/assets/opencomputers/loot/openos/lib/package.lua +++ b/src/main/resources/assets/opencomputers/loot/openos/lib/package.lua @@ -65,7 +65,7 @@ table.insert(searchers, function(module) library, status = loadfile(path) if not library then - error("error loading module '%s' from file '%s':\n\t%s", module, path, status) + error(string.format("error loading module '%s' from file '%s':\n\t%s", module, path, status)) end return library, module