fix project layout

This commit is contained in:
Gabriele C 2015-11-20 23:43:26 +01:00
parent 35ef562d35
commit ba483af807
3 changed files with 3 additions and 2 deletions

View File

@ -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>

View File

@ -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