mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 16:45:20 +02:00
LuaVoxelManip: Fix minor bug with set_lighting, remove coordinate params for light and liquid updates
This commit is contained in:
@@ -36,7 +36,7 @@ class LuaVoxelManip
|
||||
private:
|
||||
ManualMapVoxelManipulator *vm;
|
||||
std::map<v3s16, MapBlock *> modified_blocks;
|
||||
bool do_gc;
|
||||
bool is_mapgen_vm;
|
||||
|
||||
static const char className[];
|
||||
static const luaL_reg methods[];
|
||||
@@ -54,7 +54,7 @@ private:
|
||||
static int l_set_lighting(lua_State *L);
|
||||
|
||||
public:
|
||||
LuaVoxelManip(ManualMapVoxelManipulator *mmvm, bool dogc);
|
||||
LuaVoxelManip(ManualMapVoxelManipulator *mmvm, bool is_mapgen_vm);
|
||||
LuaVoxelManip(Map *map);
|
||||
~LuaVoxelManip();
|
||||
|
||||
|
Reference in New Issue
Block a user