fixed some developing stuff
This commit is contained in:
parent
fa899e87a8
commit
12e72c7398
@ -21,7 +21,7 @@ define('MANIACONTROL_PATH', __DIR__ . DIRECTORY_SEPARATOR);
|
|||||||
define('ManiaControlDir', MANIACONTROL_PATH);
|
define('ManiaControlDir', MANIACONTROL_PATH);
|
||||||
|
|
||||||
// Set process settings
|
// Set process settings
|
||||||
ini_set('memory_limit', '512M');
|
ini_set('memory_limit', '64M');
|
||||||
if (!ini_get('date.timezone') && function_exists('date_default_timezone_set')) {
|
if (!ini_get('date.timezone') && function_exists('date_default_timezone_set')) {
|
||||||
date_default_timezone_set('UTC');
|
date_default_timezone_set('UTC');
|
||||||
}
|
}
|
||||||
|
@ -112,8 +112,6 @@ class PlayerManager implements CallbackListener, TimerListener, EchoListener {
|
|||||||
// Echo Warn Command (Usage: sendEcho json_encode("player" => "loginName")
|
// Echo Warn Command (Usage: sendEcho json_encode("player" => "loginName")
|
||||||
$this->maniaControl->getEchoManager()->registerEchoListener(self::ECHO_WARN_PLAYER, $this, function ($params) {
|
$this->maniaControl->getEchoManager()->registerEchoListener(self::ECHO_WARN_PLAYER, $this, function ($params) {
|
||||||
$this->playerActions->warnPlayer(null, $params->player, false);
|
$this->playerActions->warnPlayer(null, $params->player, false);
|
||||||
|
|
||||||
return "abcdef";
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user