mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
Sign placing improvement
This commit is contained in:
parent
8a5708f47a
commit
fe3be181e8
3 changed files with 5 additions and 5 deletions
|
|
@ -87,12 +87,12 @@ class TileEntityAPI{
|
|||
));
|
||||
}
|
||||
|
||||
public function spawnTo($id, $player){
|
||||
public function spawnTo($id, $player, $queue = false){
|
||||
$t = $this->getByID($id);
|
||||
if($t === false){
|
||||
return false;
|
||||
}
|
||||
$t->spawn($player);
|
||||
$t->spawn($player, $queue);
|
||||
}
|
||||
|
||||
public function spawnToAll($id){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue