mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-18 10:45:27 +02:00
Monoblocks: optimize blocks that contain a single type of node (#16293)
Reduces memory usage on the server, especially with many user and/or large viewing distances. Currently disabled on the client due to known data races on a block's data.
This commit is contained in:
@@ -319,6 +319,7 @@ public:
|
||||
std::list<std::string> *log);
|
||||
|
||||
// IGameDef interface
|
||||
bool isClient() override { return false; }
|
||||
// Under envlock
|
||||
virtual IItemDefManager* getItemDefManager();
|
||||
virtual const NodeDefManager* getNodeDefManager();
|
||||
|
Reference in New Issue
Block a user