mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 19:49:44 +00:00
Performance improvements - removed Player action queue
This commit is contained in:
parent
66fc483156
commit
a890cdc023
3 changed files with 25 additions and 51 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue