mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-03 16:45:13 +00:00
Buffer slot and content syncing until the end of the tick
we may receive multiple requests in one tick (e.g. crafting in a batch)
This commit is contained in:
@ -1219,6 +1219,7 @@ class NetworkSession{
|
||||
$attribute->markSynchronized();
|
||||
}
|
||||
}
|
||||
$this->invManager?->flushPendingUpdates();
|
||||
|
||||
$this->flushSendBuffer();
|
||||
}
|
||||
|
Reference in New Issue
Block a user