mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-16 19:59:11 +00:00
Added Inventory interfaces and types, updated long array() to []
This commit is contained in:
@@ -61,7 +61,7 @@ class SimpleCommandMap implements CommandMap{
|
||||
/**
|
||||
* @var Command[]
|
||||
*/
|
||||
protected $knownCommands = array();
|
||||
protected $knownCommands = [];
|
||||
|
||||
/** @var Server */
|
||||
private $server;
|
||||
@@ -184,7 +184,7 @@ class SimpleCommandMap implements CommandMap{
|
||||
foreach($this->knownCommands as $command){
|
||||
$command->unregister($this);
|
||||
}
|
||||
$this->knownCommands = array();
|
||||
$this->knownCommands = [];
|
||||
$this->setDefaultCommands();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user