1
0
mirror of https://github.com/lucko/LuckPerms.git synced 2025-09-26 22:09:07 +02:00

Fix ops not receiving all permission nodes

This commit is contained in:
Luck
2016-09-09 18:00:38 +01:00
parent 89ff4cfa40
commit fc230291d3

View File

@@ -267,11 +267,11 @@ public class LPBukkitPlugin extends JavaPlugin implements LuckPermsPlugin {
"luckperms." + e.getKey() + ".*", def,
e.getValue().stream()
.map(tag -> "luckperms." + e.getKey() + "." + tag)
.collect(Collectors.toMap(s -> s, s -> false))
.collect(Collectors.toMap(s -> s, s -> true))
)
);
}
pm.addPermission(new Permission("luckperms.*", def, all.stream().collect(Collectors.toMap(s -> s, s -> false))));
pm.addPermission(new Permission("luckperms.*", def, all.stream().collect(Collectors.toMap(s -> s, s -> true))));
}
}