mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 17:59:48 +00:00
Replaced array() with []
This commit is contained in:
@ -26,14 +26,14 @@ use pocketmine\level\ChunkManager;
|
||||
use pocketmine\utils\Random;
|
||||
|
||||
class Tree{
|
||||
public $overridable = array(
|
||||
public $overridable = [
|
||||
0 => true,
|
||||
2 => true,
|
||||
3 => true,
|
||||
6 => true,
|
||||
17 => true,
|
||||
18 => true,
|
||||
);
|
||||
];
|
||||
|
||||
public static function growTree(ChunkManager $level, $x, $y, $z, Random $random, $type = 0){
|
||||
switch($type & 0x03){
|
||||
|
Reference in New Issue
Block a user