diff --git a/ManiaControl.php b/ManiaControl.php index e5e7b6f1..80e8d3a9 100644 --- a/ManiaControl.php +++ b/ManiaControl.php @@ -21,7 +21,7 @@ define('MANIACONTROL_PATH', __DIR__ . DIRECTORY_SEPARATOR); define('ManiaControlDir', MANIACONTROL_PATH); // Set process settings -ini_set('memory_limit', '512M'); +ini_set('memory_limit', '64M'); if (!ini_get('date.timezone') && function_exists('date_default_timezone_set')) { date_default_timezone_set('UTC'); } diff --git a/core/Players/PlayerManager.php b/core/Players/PlayerManager.php index 81e7c97b..1752a3c2 100644 --- a/core/Players/PlayerManager.php +++ b/core/Players/PlayerManager.php @@ -112,8 +112,6 @@ class PlayerManager implements CallbackListener, TimerListener, EchoListener { // Echo Warn Command (Usage: sendEcho json_encode("player" => "loginName") $this->maniaControl->getEchoManager()->registerEchoListener(self::ECHO_WARN_PLAYER, $this, function ($params) { $this->playerActions->warnPlayer(null, $params->player, false); - - return "abcdef"; }); }