mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +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
|
|
@ -92,12 +92,12 @@ class TileEntityAPI{
|
|||
));
|
||||
}
|
||||
|
||||
public function spawnTo($id, $player, $queue = false){
|
||||
public function spawnTo($id, $player){
|
||||
$t = $this->getByID($id);
|
||||
if($t === false){
|
||||
return false;
|
||||
}
|
||||
$t->spawn($player, $queue);
|
||||
$t->spawn($player);
|
||||
}
|
||||
|
||||
public function spawnToAll(Level $level, $id){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue