mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 09:56:06 +00:00
Added Inventory interfaces and types, updated long array() to []
This commit is contained in:
@ -34,12 +34,12 @@ class PermissibleBase implements Permissible{
|
||||
/**
|
||||
* @var PermissionAttachment[]
|
||||
*/
|
||||
private $attachments = array();
|
||||
private $attachments = [];
|
||||
|
||||
/**
|
||||
* @var PermissionAttachmentInfo[]
|
||||
*/
|
||||
private $permissions = array();
|
||||
private $permissions = [];
|
||||
|
||||
/**
|
||||
* @param ServerOperator $opable
|
||||
@ -190,7 +190,7 @@ class PermissibleBase implements Permissible{
|
||||
Server::getInstance()->getPluginManager()->unsubscribeFromDefaultPerms(false, $this->parent);
|
||||
Server::getInstance()->getPluginManager()->unsubscribeFromDefaultPerms(true, $this->parent);
|
||||
|
||||
$this->permissions = array();
|
||||
$this->permissions = [];
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user