diff --git a/bungee/src/main/java/me/lucko/luckperms/BungeeListener.java b/bungee/src/main/java/me/lucko/luckperms/BungeeListener.java index c9f3f1d6..9e6b0dc6 100644 --- a/bungee/src/main/java/me/lucko/luckperms/BungeeListener.java +++ b/bungee/src/main/java/me/lucko/luckperms/BungeeListener.java @@ -60,7 +60,15 @@ public class BungeeListener extends AbstractListener implements Listener { final String server = player.getServer() == null ? null : (player.getServer().getInfo() == null ? null : player.getServer().getInfo().getName()); - Map local = user.getLocalPermissions(plugin.getConfiguration().getServer(), server, null, Collections.singletonList(e.getPermission())); + Map local = user.exportNodes( + plugin.getConfiguration().getServer(), + server, + null, + plugin.getConfiguration().getIncludeGlobalPerms(), + true, + Collections.singletonList(e.getPermission()) + ); + for (Map.Entry en : local.entrySet()) { if (en.getKey().equalsIgnoreCase(e.getPermission())) { e.setHasPermission(en.getValue());