summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKHobbits <rob@khobbits.co.uk>2011-10-27 05:47:55 +0100
committerKHobbits <rob@khobbits.co.uk>2011-10-27 05:47:55 +0100
commit65a588ea2024b023e479a62af5fa8dece58d34ce (patch)
tree301be4b6ef010eaff51c6c7252dac324d3c73e15
parent38b6d79f49e5d62cdb304b4e7c1dfac027d5f5e8 (diff)
downloadEssentials-65a588ea2024b023e479a62af5fa8dece58d34ce.tar
Essentials-65a588ea2024b023e479a62af5fa8dece58d34ce.tar.gz
Essentials-65a588ea2024b023e479a62af5fa8dece58d34ce.tar.lz
Essentials-65a588ea2024b023e479a62af5fa8dece58d34ce.tar.xz
Essentials-65a588ea2024b023e479a62af5fa8dece58d34ce.zip
Altering PEX prefix/suffix.
-rw-r--r--Essentials/nbproject/project.properties1
-rw-r--r--Essentials/src/com/earth2me/essentials/perm/PermissionsExHandler.java5
-rw-r--r--lib/PermissionsEx-javadoc.jarbin0 -> 378789 bytes
-rw-r--r--lib/PermissionsEx.jarbin116307 -> 132878 bytes
4 files changed, 4 insertions, 2 deletions
diff --git a/Essentials/nbproject/project.properties b/Essentials/nbproject/project.properties
index bea59e4ab..58d4e7241 100644
--- a/Essentials/nbproject/project.properties
+++ b/Essentials/nbproject/project.properties
@@ -110,6 +110,7 @@ javadoc.noindex=false
javadoc.nonavbar=false
javadoc.notree=false
javadoc.private=false
+javadoc.reference.PermissionsEx.jar=../lib/PermissionsEx-javadoc.jar
javadoc.splitindex=true
javadoc.use=true
javadoc.version=false
diff --git a/Essentials/src/com/earth2me/essentials/perm/PermissionsExHandler.java b/Essentials/src/com/earth2me/essentials/perm/PermissionsExHandler.java
index 5b7bb7b81..4062a162c 100644
--- a/Essentials/src/com/earth2me/essentials/perm/PermissionsExHandler.java
+++ b/Essentials/src/com/earth2me/essentials/perm/PermissionsExHandler.java
@@ -77,7 +77,7 @@ public class PermissionsExHandler implements IPermissionsHandler
{
return null;
}
- return user.getPrefix();
+ return user.getPrefix(base.getWorld().getName());
}
@Override
@@ -88,6 +88,7 @@ public class PermissionsExHandler implements IPermissionsHandler
{
return null;
}
- return user.getSuffix();
+
+ return user.getSuffix(base.getWorld().getName());
}
}
diff --git a/lib/PermissionsEx-javadoc.jar b/lib/PermissionsEx-javadoc.jar
new file mode 100644
index 000000000..b379744f5
--- /dev/null
+++ b/lib/PermissionsEx-javadoc.jar
Binary files differ
diff --git a/lib/PermissionsEx.jar b/lib/PermissionsEx.jar
index d2b1ad91e..9f686b387 100644
--- a/lib/PermissionsEx.jar
+++ b/lib/PermissionsEx.jar
Binary files differ