mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 02:42:58 +00:00
Replaced array() with []
This commit is contained in:
@ -26,10 +26,10 @@ class Wood2 extends Wood{
|
||||
|
||||
public function __construct($meta = 0){
|
||||
Solid::__construct(self::WOOD2, $meta, "Wood");
|
||||
$names = array(
|
||||
$names = [
|
||||
0 => "Acacia Wood",
|
||||
1 => "Dark Oak Wood"
|
||||
);
|
||||
];
|
||||
$this->name = $names[$this->meta & 0x03];
|
||||
$this->hardness = 10;
|
||||
}
|
||||
|
Reference in New Issue
Block a user