doc reference
This commit is contained in:
parent
ffe62800c6
commit
14b2fac573
@ -5,6 +5,7 @@ namespace ManiaControl\Server;
|
||||
use ManiaControl\Callbacks\TimerListener;
|
||||
use ManiaControl\Formatter;
|
||||
use ManiaControl\ManiaControl;
|
||||
use ManiaControl\Plugins\Plugin;
|
||||
use Maniaplanet\DedicatedServer\Xmlrpc\Exception;
|
||||
|
||||
/**
|
||||
@ -76,6 +77,7 @@ class UsageReporter implements TimerListener {
|
||||
|
||||
if(is_array($this->maniaControl->pluginManager->getActivePlugins())) {
|
||||
foreach($this->maniaControl->pluginManager->getActivePlugins() as $plugin) {
|
||||
/** @var Plugin $plugin */
|
||||
if(!is_null($plugin::getId()) && is_numeric($plugin::getId())) {
|
||||
$activePlugins[] = $plugin::getId();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user