mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 03:51:50 +00:00
Merge pull request #840 from MihailRis/environments
environments (part 1)
This commit is contained in:
commit
8b520a3787
28 changed files with 601 additions and 311 deletions
|
|
@ -125,7 +125,7 @@ static int l_is_night(lua::State* L) {
|
|||
}
|
||||
|
||||
static int l_get_generator(lua::State* L) {
|
||||
return lua::pushstring(L, require_world_info().generator);
|
||||
return lua::pushstring(L, require_level().environment.generator);
|
||||
}
|
||||
|
||||
static int l_get_chunk_data(lua::State* L) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue