Skip to content

Commit 2b9c6f9

Browse files
committed
fix: check permission node example
Signed-off-by: ItsNeil17 <neil@willofsteel.me>
1 parent b744765 commit 2b9c6f9

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

content/docs/en/guides/plugin/permission-management.mdx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,5 @@ perms.removeUserPermission(playerUUID, permissions);
3939
To check if a player has a specific permission node, you can use the `hasPermission` method.
4040

4141
```java
42-
PermissionsModule perms = PermissionsModule.get();
43-
boolean hasPermission = perms.hasPermission(playerUUID, "permission.node");
42+
boolean hasPermission = PermissionsModule.hasPermission(playerUUID, "permission.node");
4443
```

0 commit comments

Comments
 (0)