From 9ad73b00c861b603bad47336edb25088ef0c624c Mon Sep 17 00:00:00 2001 From: Shoghi Cervantes Pueyo Date: Sun, 14 Apr 2013 18:47:34 +0200 Subject: [PATCH] Removed online broadcast --- src/PocketMinecraftServer.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/PocketMinecraftServer.php b/src/PocketMinecraftServer.php index 24f519fe..c67b683b 100644 --- a/src/PocketMinecraftServer.php +++ b/src/PocketMinecraftServer.php @@ -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(){