1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

A handful of minor fixes to various things

This commit is contained in:
kwolekr 2013-06-22 17:27:48 -04:00
parent c1b829077a
commit 4d77781ce7
6 changed files with 27 additions and 34 deletions

View file

@ -674,7 +674,7 @@ int ModApiBasic::l_register_ore(lua_State *L)
verbosestream << "register_ore: ore '" << ore->ore_name
<< "' registered" << std::endl;
return 0;
return 1;
}
// register_decoration({lots of stuff})
@ -793,7 +793,7 @@ int ModApiBasic::l_register_decoration(lua_State *L)
verbosestream << "register_decoration: decoration '" << deco->getName()
<< "' registered" << std::endl;
return 0;
return 1;
}
// create_schematic(p1, p2, probability_list, filename)
@ -841,7 +841,8 @@ int ModApiBasic::l_create_schematic(lua_State *L)
dschem.applyProbabilities(&probability_list, p1);
dschem.saveSchematicFile(ndef);
actionstream << "create_schematic: saved schematic file '" << dschem.filename << "'." << std::endl;
actionstream << "create_schematic: saved schematic file '"
<< dschem.filename << "'." << std::endl;
return 1;
}