mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-08-02 10:24:04 +00:00
Code cleanup.
This commit is contained in:
@@ -66,7 +66,7 @@ public class NijiPermissionsResolver implements PermissionsResolver {
|
||||
}
|
||||
}
|
||||
|
||||
@SuppressWarnings({ "static-access", "deprecation" })
|
||||
@SuppressWarnings({ "static-access" })
|
||||
public boolean inGroup(String name, String group) {
|
||||
try {
|
||||
Player player = server.getPlayer(name);
|
||||
@@ -82,7 +82,7 @@ public class NijiPermissionsResolver implements PermissionsResolver {
|
||||
}
|
||||
}
|
||||
|
||||
@SuppressWarnings({ "static-access", "deprecation" })
|
||||
@SuppressWarnings({ "static-access" })
|
||||
public String[] getGroups(String name) {
|
||||
try {
|
||||
Player player = server.getPlayer(name);
|
||||
|
Reference in New Issue
Block a user