This commit is contained in:
Gabriele C
2016-05-04 17:26:58 +02:00
parent 39aaef8f8a
commit 5ceabe2146
16 changed files with 57 additions and 62 deletions
@@ -346,7 +346,6 @@ public class PermissionsManager implements PermissionsService {
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);
@@ -448,7 +447,6 @@ public class PermissionsManager implements PermissionsService {
*
* @return The name of the primary permission group. Or null.
*/
@SuppressWarnings("deprecation")
public String getPrimaryGroup(Player player) {
// If no permissions system is used, return an empty list
if (!isEnabled())