dedi fix
This commit is contained in:
parent
9ff41e1580
commit
121ba2ed9b
@ -98,7 +98,7 @@ class Dedimania implements CallbackListener, TimerListener, Plugin {
|
|||||||
// Open session
|
// Open session
|
||||||
$serverInfo = $this->maniaControl->server->getInfo();
|
$serverInfo = $this->maniaControl->server->getInfo();
|
||||||
$serverVersion = $this->maniaControl->client->getVersion();
|
$serverVersion = $this->maniaControl->client->getVersion();
|
||||||
$packMask = $this->maniaControl->mapManager->getCurrentMap()->getGame();
|
$packMask = substr($this->maniaControl->server->titleId, 2);
|
||||||
|
|
||||||
$dedimaniaCode = $this->maniaControl->settingManager->getSetting($this, self::SETTING_DEDIMANIA_CODE . $serverInfo->login . '$l');
|
$dedimaniaCode = $this->maniaControl->settingManager->getSetting($this, self::SETTING_DEDIMANIA_CODE . $serverInfo->login . '$l');
|
||||||
if ($dedimaniaCode == '') {
|
if ($dedimaniaCode == '') {
|
||||||
|
Loading…
Reference in New Issue
Block a user