Performance improvements - removed Player action queue

This commit is contained in:
Shoghi Cervantes
2013-05-31 14:43:53 +02:00
parent 66fc483156
commit a890cdc023
3 changed files with 25 additions and 51 deletions

View File

@@ -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){