mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-22 17:18:39 +00:00
Add/remove/change some log messages for clarity
This commit is contained in:
parent
a00b9cab36
commit
9d81c02f27
11 changed files with 73 additions and 79 deletions
|
@ -428,7 +428,7 @@ size_t get_biome_list(lua_State *L, int index,
|
|||
if (is_single) {
|
||||
Biome *biome = get_or_load_biome(L, index, biomemgr);
|
||||
if (!biome) {
|
||||
infostream << "get_biome_list: failed to get biome '"
|
||||
warningstream << "get_biome_list: failed to get biome '"
|
||||
<< (lua_isstring(L, index) ? lua_tostring(L, index) : "")
|
||||
<< "'." << std::endl;
|
||||
return 1;
|
||||
|
@ -445,7 +445,7 @@ size_t get_biome_list(lua_State *L, int index,
|
|||
Biome *biome = get_or_load_biome(L, -1, biomemgr);
|
||||
if (!biome) {
|
||||
fail_count++;
|
||||
infostream << "get_biome_list: failed to get biome '"
|
||||
warningstream << "get_biome_list: failed to get biome '"
|
||||
<< (lua_isstring(L, -1) ? lua_tostring(L, -1) : "")
|
||||
<< "'" << std::endl;
|
||||
continue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue