Small changes, Ellie

This commit is contained in:
Shoghi Cervantes Pueyo 2013-01-30 20:49:34 +01:00
parent d0a08d16e7
commit 9ef2dc6fe1
3 changed files with 4 additions and 4 deletions

View file

@ -101,7 +101,7 @@ class PocketMinecraftServer{
$this->action(5000000, 'if($this->difficulty < 2){$this->api->dhandle("server.regeneration", 1);}');
$this->action(1000000 * 60, '$this->reloadConfig();');
$this->action(1000000 * 60 * 10, '$this->custom = array();');
if($this->api !== false){
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()));}');
}
$this->action(1000000 * 120, '$this->debugInfo(true);');