mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 02:08:21 +00:00
Bulk addition of constant visibilities
thanks PhpStorm inspections plugin for annoying the shit out of me until I did this.
This commit is contained in:
@ -26,7 +26,7 @@ namespace pocketmine\permission;
|
||||
use pocketmine\Server;
|
||||
|
||||
abstract class DefaultPermissions{
|
||||
const ROOT = "pocketmine";
|
||||
public const ROOT = "pocketmine";
|
||||
|
||||
/**
|
||||
* @param Permission $perm
|
||||
|
@ -32,10 +32,10 @@ use pocketmine\Server;
|
||||
* Represents a permission
|
||||
*/
|
||||
class Permission{
|
||||
const DEFAULT_OP = "op";
|
||||
const DEFAULT_NOT_OP = "notop";
|
||||
const DEFAULT_TRUE = "true";
|
||||
const DEFAULT_FALSE = "false";
|
||||
public const DEFAULT_OP = "op";
|
||||
public const DEFAULT_NOT_OP = "notop";
|
||||
public const DEFAULT_TRUE = "true";
|
||||
public const DEFAULT_FALSE = "false";
|
||||
|
||||
public static $DEFAULT_PERMISSION = self::DEFAULT_OP;
|
||||
|
||||
|
Reference in New Issue
Block a user