mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-11-27 04:35:12 +01:00
fix project layout
This commit is contained in:
parent
35ef562d35
commit
ba483af807
2
pom.xml
2
pom.xml
@ -59,7 +59,7 @@
|
||||
<build>
|
||||
<finalName>AuthMe-${project.version}</finalName>
|
||||
<sourceDirectory>src/main/java</sourceDirectory>
|
||||
<testSourceDirectory>test/main/java</testSourceDirectory>
|
||||
<testSourceDirectory>src/test/java</testSourceDirectory>
|
||||
|
||||
<resources>
|
||||
<resource>
|
||||
|
@ -361,6 +361,7 @@ public class PermissionsManager {
|
||||
|
||||
case Z_PERMISSIONS:
|
||||
// zPermissions
|
||||
@SuppressWarnings("deprecation")
|
||||
Map<String, Boolean> perms = zPermissionsService.getPlayerPermissions(player.getWorld().getName(), null, player.getName());
|
||||
if(perms.containsKey(permsNode))
|
||||
return perms.get(permsNode);
|
||||
@ -385,7 +386,7 @@ public class PermissionsManager {
|
||||
}
|
||||
}
|
||||
|
||||
@SuppressWarnings({"unchecked", "rawtypes"})
|
||||
@SuppressWarnings({"unchecked", "rawtypes", "deprecation"})
|
||||
public List<String> getGroups(Player player) {
|
||||
if(!isEnabled())
|
||||
// No permissions system is used, return an empty list
|
||||
|
Loading…
Reference in New Issue
Block a user