implemented new setting method
This commit is contained in:
1 parent
1fa1d7ee7d
commit
ef9c141786
33 files changed
+606
-551
No files matched your search
@@ -399,7 +399,7 @@ class ChatMessagePlugin implements CommandListener, Plugin {
|
||||
$msg = '$ff0[$<' . $player->nickname . '$>] $ff0$iAway From Keyboard!';
|
||||
$this->maniaControl->chat->sendChat($msg, null, false);
|
||||
|
||||
if ($this->maniaControl->settingManager->getSetting($this, self::SETTING_AFK_FORCE_SPEC)) {
|
||||
if ($this->maniaControl->settingManager->getSettingValue($this, self::SETTING_AFK_FORCE_SPEC)) {
|
||||
if ($player->isSpectator) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user