We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4dca186 + d1a2fec commit 3e737c0Copy full SHA for 3e737c0
src/main/java/pro/cloudnode/smp/enchantbookplus/Permissions.java
@@ -21,13 +21,11 @@ public static void init() {
21
"Reload plugin config using `/enchantbookplus reload`",
22
PermissionDefault.OP
23
));
24
- for (Enchantment enchantment : Registry.ENCHANTMENT) {
25
- EnchantBookPlus.getInstance().getLogger().info("Registering permission for " + enchantment.getKey());
+ for (Enchantment enchantment : Registry.ENCHANTMENT)
26
pm.addPermission(new Permission(
27
enchant(enchantment),
28
"Allow enchanting " + enchantment.getKey() + "above the vanilla level, as configured in the plugin",
29
PermissionDefault.TRUE
30
31
- }
32
}
33
0 commit comments