move Lighting instance to ChunksController
This commit is contained in:
@@ -34,7 +34,7 @@ class BlocksController {
|
||||
FastRandom random {};
|
||||
std::vector<on_block_interaction> blockInteractionCallbacks;
|
||||
public:
|
||||
BlocksController(const Level& level, uint padding);
|
||||
BlocksController(const Level& level, Lighting& lighting, uint padding);
|
||||
|
||||
void updateSides(int x, int y, int z);
|
||||
void updateSides(int x, int y, int z, int w, int h, int d);
|
||||
|
||||
Reference in New Issue
Block a user