mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-07 12:18:46 +00:00
Terminal: fix deprecation error on PHP 8.2
This commit is contained in:
parent
a5397d55fe
commit
74e052de51
@ -92,7 +92,7 @@ abstract class Terminal{
|
||||
|
||||
self::$FORMAT_RESET = "\x1b[m";
|
||||
|
||||
$color = fn(int $code) => "\x1b[38;5;${code}m";
|
||||
$color = fn(int $code) => "\x1b[38;5;{$code}m";
|
||||
|
||||
self::$COLOR_BLACK = $color(16);
|
||||
self::$COLOR_DARK_BLUE = $color(19);
|
||||
|
Loading…
x
Reference in New Issue
Block a user