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:
@ -31,8 +31,8 @@ class WoodDoor extends Door{
|
||||
}
|
||||
|
||||
public function getDrops(Item $item){
|
||||
return array(
|
||||
array(Item::WOODEN_DOOR, 0, 1),
|
||||
);
|
||||
return [
|
||||
[Item::WOODEN_DOOR, 0, 1],
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user