@@ -93,7 +93,6 @@ discard block |
||
| 93 | 93 | /** |
| 94 | 94 | * Checks if a login or player has a certain permission or not. |
| 95 | 95 | * |
| 96 | - * @param string|Group|Player $login Login of the player to check for permission. |
|
| 97 | 96 | * @param string $permission The permission to check for. |
| 98 | 97 | * |
| 99 | 98 | * @return bool |
@@ -116,6 +115,9 @@ discard block |
||
| 116 | 115 | } |
| 117 | 116 | } |
| 118 | 117 | |
| 118 | + /** |
|
| 119 | + * @param string $permission |
|
| 120 | + */ |
|
| 119 | 121 | protected function hasLoginPermission($login, $permission) |
| 120 | 122 | { |
| 121 | 123 | if ($login instanceof Player) { |
@@ -66,6 +66,9 @@ |
||
| 66 | 66 | return parent::render($domDocument); |
| 67 | 67 | } |
| 68 | 68 | |
| 69 | + /** |
|
| 70 | + * @param boolean $translate |
|
| 71 | + */ |
|
| 69 | 72 | public function setTranslate($translate) |
| 70 | 73 | { |
| 71 | 74 | if ($translate) { |