goodbye php5, u wont be missed

This commit is contained in:
GameHerobrine 2023-07-03 06:49:12 +03:00
parent 2858b43748
commit d7d346a237
16 changed files with 26 additions and 33 deletions

View file

@ -13,7 +13,7 @@ class StoneBlock extends SolidBlock{
];
public function __construct($meta = 0){
parent::__construct(STONE, $meta, nullsafe(self::$names[$meta], "Stone"));
parent::__construct(STONE, $meta, self::$names[$meta] ?? "Stone");
$this->hardness = 30;
}