mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 03:59:43 +00:00
motion packet spam fix, explosion optimizations, tnt gravity fix
This commit is contained in:
parent
6e8d7bead3
commit
69d5589191
4 changed files with 96 additions and 53 deletions
|
|
@ -1190,7 +1190,7 @@ class Player{
|
|||
$headSent = true;
|
||||
}
|
||||
if($packets <= 0) return;
|
||||
|
||||
//console("Update {$e}: $packets, mot: $motionSent, mov: $moveSent, hed: $headSent");
|
||||
$MTU = $this->MTU - 24;
|
||||
if(($this->entityMovementQueueLength + $len) >= $MTU){
|
||||
$this->sendEntityMovementUpdateQueue();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue