There was an error while loading. Please reload this page.
1 parent b744765 commit 2b9c6f9Copy full SHA for 2b9c6f9
1 file changed
content/docs/en/guides/plugin/permission-management.mdx
@@ -39,6 +39,5 @@ perms.removeUserPermission(playerUUID, permissions);
39
To check if a player has a specific permission node, you can use the `hasPermission` method.
40
41
```java
42
-PermissionsModule perms = PermissionsModule.get();
43
-boolean hasPermission = perms.hasPermission(playerUUID, "permission.node");
+boolean hasPermission = PermissionsModule.hasPermission(playerUUID, "permission.node");
44
```
0 commit comments