Removing debug
This commit is contained in:
parent
b0fb89788d
commit
51b889b812
1 changed files with 0 additions and 1 deletions
|
@ -159,7 +159,6 @@ class Ghost extends Human {
|
||||||
public function movePlayerRandomly(){
|
public function movePlayerRandomly(){
|
||||||
if(!$this->checkIfConnected()) return;
|
if(!$this->checkIfConnected()) return;
|
||||||
if(rand(0,20) == 1) {
|
if(rand(0,20) == 1) {
|
||||||
echo "\nMove ya!\n";
|
|
||||||
$this->associatedPlayer->teleport(new Vector3($this->associatedPlayer->x + rand(0, 3) - rand(0, 3), $this->associatedPlayer->y, $this->associatedPlayer->z + rand(0, 3) - rand(0, 3)));
|
$this->associatedPlayer->teleport(new Vector3($this->associatedPlayer->x + rand(0, 3) - rand(0, 3), $this->associatedPlayer->y, $this->associatedPlayer->z + rand(0, 3) - rand(0, 3)));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue