File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
src/main/java/pro/cloudnode/smp/enchantbookplus Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change 11package pro .cloudnode .smp .enchantbookplus ;
22
33import org .bukkit .Registry ;
4- import org .bukkit .Server ;
54import org .bukkit .enchantments .Enchantment ;
65import org .bukkit .permissions .Permission ;
76import org .bukkit .permissions .PermissionDefault ;
@@ -16,8 +15,7 @@ public final class Permissions {
1615 public static @ NotNull String RELOAD = "enchantbookplus.reload" ;
1716
1817 public static void init () {
19- final @ NotNull Server server = EnchantBookPlus .getInstance ().getServer ();
20- final @ NotNull PluginManager pm = server .getPluginManager ();
18+ final @ NotNull PluginManager pm = EnchantBookPlus .getInstance ().getServer ().getPluginManager ();
2119 pm .addPermission (new Permission (
2220 RELOAD ,
2321 "Reload plugin config using `/enchantbookplus reload`" ,
You can’t perform that action at this time.
0 commit comments