Updated Threads use the new commit

This commit is contained in:
Shoghi Cervantes Pueyo 2013-01-23 19:38:42 +01:00
parent 6cd51dbbf6
commit 386decf268
2 changed files with 9 additions and 2 deletions

View file

@ -26,9 +26,11 @@ the Free Software Foundation, either version 3 of the License, or
*/
class TickLoop extends Thread{
var $tick = false, $stop = false, $lastTick = 0;
public $tick, $stop, $lastTic;
private $server;
public function __construct(PocketMinecraftServer $server){
$this->tick = false;
$this->lastTick = 0;
$this->server = $server;
}
public function run(){