summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Essentials/nbproject/project.properties2
-rw-r--r--Essentials/src/com/earth2me/essentials/perm/GroupManagerHandler.java22
2 files changed, 12 insertions, 12 deletions
diff --git a/Essentials/nbproject/project.properties b/Essentials/nbproject/project.properties
index 0093f68f2..89b5e0958 100644
--- a/Essentials/nbproject/project.properties
+++ b/Essentials/nbproject/project.properties
@@ -89,7 +89,7 @@ javac.classpath=\
${file.reference.PermissionsEx.jar}:\
${file.reference.bPermissions.jar}:\
${file.reference.PermissionsBukkit-1.2.jar}:\
- ${file.reference.lombok-0.10.1.jar}
+ ${file.reference.lombok-0.10.1.jar}:\
${reference.EssentialsGroupManager.jar}
# Space-separated list of extra javac options
javac.compilerargs=
diff --git a/Essentials/src/com/earth2me/essentials/perm/GroupManagerHandler.java b/Essentials/src/com/earth2me/essentials/perm/GroupManagerHandler.java
index 038030879..20b3806e0 100644
--- a/Essentials/src/com/earth2me/essentials/perm/GroupManagerHandler.java
+++ b/Essentials/src/com/earth2me/essentials/perm/GroupManagerHandler.java
@@ -15,55 +15,55 @@ public class GroupManagerHandler implements IPermissionsHandler
public GroupManagerHandler(final Plugin permissionsPlugin)
{
- groupManager = ((GroupManager)permissionsPlugin);
+ groupManager = ((GroupManager)permissionsPlugin);
}
@Override
public String getGroup(final Player base)
{
- final AnjoPermissionsHandler handler = groupManager.getWorldsHolder().getWorldPermissions(base);
- return handler.getGroup(base.getName());
+ final AnjoPermissionsHandler handler = groupManager.getWorldsHolder().getWorldPermissions(base);
+ return handler.getGroup(base.getName());
}
@Override
public List<String> getGroups(final Player base)
{
final AnjoPermissionsHandler handler = groupManager.getWorldsHolder().getWorldPermissions(base);
- return Arrays.asList(handler.getGroups(base.getName()));
+ return Arrays.asList(handler.getGroups(base.getName()));
}
@Override
public boolean canBuild(final Player base, final String group)
{
- final AnjoPermissionsHandler handler = groupManager.getWorldsHolder().getWorldPermissions(base);
- return handler.canUserBuild(base.getName());
+ final AnjoPermissionsHandler handler = groupManager.getWorldsHolder().getWorldPermissions(base);
+ return handler.canUserBuild(base.getName());
}
@Override
public boolean inGroup(final Player base, final String group)
{
- AnjoPermissionsHandler handler = groupManager.getWorldsHolder().getWorldPermissions(base);
- return handler.inGroup(base.getName(), group);
+ AnjoPermissionsHandler handler = groupManager.getWorldsHolder().getWorldPermissions(base);
+ return handler.inGroup(base.getName(), group);
}
@Override
public boolean hasPermission(final Player base, final String node)
{
- AnjoPermissionsHandler handler = groupManager.getWorldsHolder().getWorldPermissions(base);
+ AnjoPermissionsHandler handler = groupManager.getWorldsHolder().getWorldPermissions(base);
return handler.has(base, node);
}
@Override
public String getPrefix(final Player base)
{
- AnjoPermissionsHandler handler = groupManager.getWorldsHolder().getWorldPermissions(base);
+ AnjoPermissionsHandler handler = groupManager.getWorldsHolder().getWorldPermissions(base);
return handler.getUserPrefix(base.getName());
}
@Override
public String getSuffix(final Player base)
{
- AnjoPermissionsHandler handler = groupManager.getWorldsHolder().getWorldPermissions(base);
+ AnjoPermissionsHandler handler = groupManager.getWorldsHolder().getWorldPermissions(base);
return handler.getUserSuffix(base.getName());
}
}