lot of small minor changes

This commit is contained in:
Beu 2021-10-26 22:08:34 +02:00
parent b21dc97e79
commit 2fa810053a
6 changed files with 6 additions and 7 deletions

View File

@ -14,7 +14,7 @@ use \ManiaControl\Logger;
/** /**
* Plugin Description * Plugin Description
* *
* @author Template Author * @author Beu
* @version 1.0 * @version 1.0
*/ */
class GuestlistManager implements CommandListener, Plugin { class GuestlistManager implements CommandListener, Plugin {

View File

@ -84,7 +84,7 @@ class SimpleChatColorer implements CallbackListener, Plugin {
$this->maniaControl->getCallbackManager()->registerCallbackListener(SettingManager::CB_SETTING_CHANGED, $this, 'updateSettings'); $this->maniaControl->getCallbackManager()->registerCallbackListener(SettingManager::CB_SETTING_CHANGED, $this, 'updateSettings');
$this->maniaControl->getSettingManager()->initSetting($this, self::SETTING_CHATDAMDMINCOLORER_USEADMINCOLOR, true, "Use Admin Color of Maniacontrol settings"); $this->maniaControl->getSettingManager()->initSetting($this, self::SETTING_CHATDAMDMINCOLORER_USEADMINCOLOR, true, "Use Admin Color of Maniacontrol settings");
$this->maniaControl->getSettingManager()->initSetting($this, self::SETTING_CHATDAMDMINCOLORER_NUMBEROFGROUPS, 1, "Nomber of groups to setup"); $this->maniaControl->getSettingManager()->initSetting($this, self::SETTING_CHATDAMDMINCOLORER_NUMBEROFGROUPS, 1, "Number of groups to setup");
$this->InitGroupsSettings(); $this->InitGroupsSettings();
@ -174,4 +174,3 @@ class SimpleChatColorer implements CallbackListener, Plugin {
$this->maniaControl->getCallbackManager()->unregisterCallbackListening('ManiaPlanet.OnPlayerChat', $this); $this->maniaControl->getCallbackManager()->unregisterCallbackListening('ManiaPlanet.OnPlayerChat', $this);
} }
} }