mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 09:56:06 +00:00
Performance improvements - removed Player action queue
This commit is contained in:
@ -196,7 +196,7 @@ class TileEntity extends Position{
|
||||
return true;
|
||||
}
|
||||
|
||||
public function spawn($player, $queue = false){
|
||||
public function spawn($player){
|
||||
if($this->closed){
|
||||
return false;
|
||||
}
|
||||
@ -214,7 +214,7 @@ class TileEntity extends Position{
|
||||
"line1" => $this->data["Text2"],
|
||||
"line2" => $this->data["Text3"],
|
||||
"line3" => $this->data["Text4"],
|
||||
), $queue);
|
||||
));
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user