Removing debug

This commit is contained in:
Adsooi 2017-10-31 00:07:20 +01:00
parent b0fb89788d
commit 51b889b812

View file

@ -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)));
} }
} }