Minor fix for PermissionsBukkit support in permissions manager

This commit is contained in:
Tim Visée 2015-11-21 15:47:59 +01:00
parent cfaece3eae
commit 973c683c90

View File

@ -415,7 +415,7 @@ public class PermissionsManager {
case B_PERMISSIONS: case B_PERMISSIONS:
// bPermissions // bPermissions
return Arrays.asList(ApiLayer.getGroups(player.getName(), CalculableType.USER, player.getName())); return Arrays.asList(ApiLayer.getGroups(player.getWorld().getName(), CalculableType.USER, player.getName()));
case ESSENTIALS_GROUP_MANAGER: case ESSENTIALS_GROUP_MANAGER:
// Essentials Group Manager // Essentials Group Manager