Когда запускаю сервер то после запуска выключается ошибком:
20:24:44 Server|INFO > Altay is distributed under the LGPL License
20:24:44 Server|CRITICAL > ErrorException: "Array and string offset access syntax with curly braces is deprecated" (EXCEPTION) in "src/pocketmine/command/Command" at line 85
20:24:44 Server|CRITICAL > #0 vendor/composer/ClassLoader(444): pocketmine\utils\Utils::errorExceptionHandler(integer 8192, string[69] Array and string offset access syntax with curly braces is deprecated, string[46] /root/altay/src/pocketmine/command/Command.php, integer 85, array[1])
20:24:44 Server|CRITICAL > #1 vendor/composer/ClassLoader(444): include()
20:24:44 Server|CRITICAL > #2 vendor/composer/ClassLoader(322): Composer\Autoload\includeFile(string[68] /root/altay/vendor/composer/../../src/pocketmine/command/Command.php)
20:24:44 Server|CRITICAL > #3 (): Composer\Autoload\ClassLoader->loadClass(string[26] pocketmine\command\Command)
20:24:44 Server|CRITICAL > #4 src/pocketmine/command/defaults/VanillaCommand(34): spl_autoload_call(string[26] pocketmine\command\Command)
20:24:44 Server|CRITICAL > #5 vendor/composer/ClassLoader(444): include(string[62] /root/altay/src/pocketmine/command/defaults/VanillaCommand.php)
20:24:44 Server|CRITICAL > #6 vendor/composer/ClassLoader(322): Composer\Autoload\includeFile(string[84] /root/altay/vendor/composer/../../src/pocketmine/command/defaults/VanillaCommand)
20:24:44 Server|CRITICAL > #7 (): Composer\Autoload\ClassLoader->loadClass(string[42] pocketmine\command\defaults\VanillaCommand)
20:24:44 Server|CRITICAL > #8 src/pocketmine/command/defaults/BanCommand(35): spl_autoload_call(string[42] pocketmine\command\defaults\VanillaCommand)
20:24:44 Server|CRITICAL > #9 vendor/composer/ClassLoader(444): include(string[58] /root/altay/src/pocketmine/command/defaults/BanCommand.php)
20:24:44 Server|CRITICAL > #10 vendor/composer/ClassLoader(322): Composer\Autoload\includeFile(string[80] /root/altay/vendor/composer/../../src/pocketmine/command/defaults/BanCommand.php)
20:24:44 Server|CRITICAL > #11 (): Composer\Autoload\ClassLoader->loadClass(string[38] pocketmine\command\defaults\BanCommand)
20:24:44 Server|CRITICAL > #12 src/pocketmine/command/SimpleCommandMap(104): spl_autoload_call(string[38] pocketmine\command\defaults\BanCommand)
20:24:44 Server|CRITICAL > #13 src/pocketmine/command/SimpleCommandMap(99): pocketmine\command\SimpleCommandMap->setDefaultCommands()
20:24:44 Server|CRITICAL > #14 src/pocketmine/Server(1578): pocketmine\command\SimpleCommandMap->__construct(object pocketmine\Server)
20:24:44 Server|CRITICAL > #15 src/pocketmine/PocketMine(273): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[12] /root/altay/, string[20] /root/altay/plugins/)
20:24:44 Server|CRITICAL > #16 src/pocketmine/PocketMine(304): pocketmine\server()
Каршдамп:
Altay Crash Dump Sun Sep 4 20:23:58 MSK 2022
Error: Array and string offset access syntax with curly braces is deprecated
File: src/pocketmine/command/Command
Line: 85
Type: ErrorException
Code:
[76]
[77] /** @var TimingsHandler|null */
[78] public $timings = null;
[79]
[80] /**
[81] * @param string[] $aliases
[82] * @param CommandParameter[][] $overloads
[83] */
[84] public function __construct(string $name, string $description = "", string $usageMessage = null, array $aliases = [], ?array $overloads = null){
[85] if(strlen($description) > 0 and $description{0} == '%'){
[86] $description = Server::getInstance()->getLanguage()->translateString($description);
[87] }
[88]
[89] $this->commandData = new CommandData();
[90]
[91] $this->commandData->commandName = $name;
[92] $this->commandData->commandDescription = $description;
[93] $this->commandData->flags = 0;
[94] $this->commandData->permission = 0;
[95] $this->commandData->aliases = null;