mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Mainmenu: Fix issues while trying to enable all mods (#5770)
This commit is contained in:
parent
e25a38e3fb
commit
674400523e
5 changed files with 19 additions and 15 deletions
|
@ -171,7 +171,7 @@ void Client::initMods()
|
|||
if (!string_allowed(mod.name, MODNAME_ALLOWED_CHARS)) {
|
||||
throw ModError("Error loading mod \"" + mod.name +
|
||||
"\": Mod name does not follow naming conventions: "
|
||||
"Only chararacters [a-z0-9_] are allowed.");
|
||||
"Only characters [a-z0-9_] are allowed.");
|
||||
}
|
||||
std::string script_path = mod.path + DIR_DELIM + "init.lua";
|
||||
infostream << " [" << padStringRight(mod.name, 12) << "] [\""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue