mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-08 12:48:32 +00:00
Limited Player tick time queue further
This commit is contained in:
parent
f8c6921ac4
commit
251b88f8ba
@ -154,7 +154,7 @@ class Player{
|
|||||||
}else{
|
}else{
|
||||||
if(!empty($this->queue)){
|
if(!empty($this->queue)){
|
||||||
$cnt = 0;
|
$cnt = 0;
|
||||||
$maxtime = $time + 0.025;
|
$maxtime = $time + 0.0025;
|
||||||
while(microtime(true) < $maxtime){
|
while(microtime(true) < $maxtime){
|
||||||
$p = array_shift($this->queue);
|
$p = array_shift($this->queue);
|
||||||
if($p === null){
|
if($p === null){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user