Removed online broadcast

This commit is contained in:
Shoghi Cervantes Pueyo 2013-04-14 18:47:34 +02:00
parent fb805f2b0f
commit 9ad73b00c8

View File

@ -108,9 +108,6 @@ class PocketMinecraftServer{
$this->action(5000000, 'if($this->difficulty < 2){$this->api->dhandle("server.regeneration", 1);}');
$this->action(1000000 * 15, 'if($this->getTPS() < 15){console("[WARNING] Can\'t keep up! Is the server overloaded?");}');
$this->action(1000000 * 60 * 10, '$this->custom = array();');
if($this->api instanceof ServerAPI){
$this->action(1000000 * 80, '$cnt = count($this->clients); if($cnt > 1){$this->api->chat->broadcast("Online (".$cnt."): ".implode(", ",$this->api->player->online()));}');
}
}
public function startDatabase(){