mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-14 00:55:20 +02:00
Reduced server CPU usage on NodeMetadata step()s. Also furnace now cooks while no players are near it.
This commit is contained in:
@@ -46,8 +46,14 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
#define MAPTYPE_CLIENT 2
|
||||
|
||||
enum MapEditEventType{
|
||||
// Node added (changed from air or something else to something)
|
||||
MEET_ADDNODE,
|
||||
// Node removed (changed to air)
|
||||
MEET_REMOVENODE,
|
||||
// Node metadata of block changed (not knowing which node exactly)
|
||||
// p stores block coordinate
|
||||
MEET_BLOCK_NODE_METADATA_CHANGED,
|
||||
// Anything else
|
||||
MEET_OTHER
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user