add message when plugins update are available
This commit is contained in:
parent
405d6027f7
commit
478e842230
@ -119,6 +119,8 @@ class PluginUpdateManager implements CallbackListener, CommandListener, TimerLis
|
|||||||
$message = "Plugins Update Check completed: There are {$updatesCount} Updates available!";
|
$message = "Plugins Update Check completed: There are {$updatesCount} Updates available!";
|
||||||
if ($player) {
|
if ($player) {
|
||||||
$this->maniaControl->getChat()->sendSuccess($message, $player);
|
$this->maniaControl->getChat()->sendSuccess($message, $player);
|
||||||
|
} else {
|
||||||
|
$this->maniaControl->getChat()->sendSuccessToAdmins($message . " (you can use //pluginsupdate)");
|
||||||
}
|
}
|
||||||
Logger::log($message);
|
Logger::log($message);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user