mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Spacing fixes
This commit is contained in:
parent
88b21a72f1
commit
7993909fab
31 changed files with 82 additions and 83 deletions
|
@ -757,7 +757,7 @@ int ModApiEnvMod::l_get_objects_in_area(lua_State *L)
|
|||
{
|
||||
GET_ENV_PTR;
|
||||
ScriptApiBase *script = getScriptApiBase(L);
|
||||
|
||||
|
||||
v3f minp = read_v3f(L, 1) * BS;
|
||||
v3f maxp = read_v3f(L, 2) * BS;
|
||||
aabb3f box(minp, maxp);
|
||||
|
@ -1409,7 +1409,7 @@ int ModApiEnvMod::l_compare_block_status(lua_State *L)
|
|||
v3s16 nodepos = check_v3s16(L, 1);
|
||||
std::string condition_s = luaL_checkstring(L, 2);
|
||||
auto status = env->getBlockStatus(getNodeBlockPos(nodepos));
|
||||
|
||||
|
||||
int condition_i = -1;
|
||||
if (!string_to_enum(es_BlockStatusType, condition_i, condition_s))
|
||||
return 0; // Unsupported
|
||||
|
|
|
@ -114,7 +114,7 @@ private:
|
|||
|
||||
// get_objects_inside_radius(pos, radius)
|
||||
static int l_get_objects_inside_radius(lua_State *L);
|
||||
|
||||
|
||||
// get_objects_in_area(pos, minp, maxp)
|
||||
static int l_get_objects_in_area(lua_State *L);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue