mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-22 12:25:23 +02:00
Make MapEditEvent more complete
SetBlocksNotSent is no longer used.
This commit is contained in:
@@ -95,7 +95,7 @@ void ServerInventoryManager::setInventoryModified(const InventoryLocation &loc)
|
||||
case InventoryLocation::NODEMETA: {
|
||||
MapEditEvent event;
|
||||
event.type = MEET_BLOCK_NODE_METADATA_CHANGED;
|
||||
event.p = loc.p;
|
||||
event.setPositionModified(loc.p);
|
||||
m_env->getMap().dispatchEvent(event);
|
||||
} break;
|
||||
case InventoryLocation::DETACHED: {
|
||||
|
Reference in New Issue
Block a user