Forráskód Böngészése

Fixed bug where the 'mcmmo.commands.ptp.world.all' was registered twice.

Fixes #787
GJ 12 éve
szülő
commit
d40d89f29a

+ 1 - 0
Changelog.txt

@@ -13,6 +13,7 @@ Version 1.4.03-dev
  = Fixed bug with repairing using materials with byte metadata
  = Fixed bug with repairing using materials with byte metadata
  = Fixed bug where Fishing was becoming less successful at higher levels
  = Fixed bug where Fishing was becoming less successful at higher levels
  = Fixed bug with using Salvage on stacked items.
  = Fixed bug with using Salvage on stacked items.
+ = Fixed bug where the 'mcmmo.commands.ptp.world.all' was registered twice
  ! Moved the Salvage unlock level from config.yml to advanced.yml
  ! Moved the Salvage unlock level from config.yml to advanced.yml
  - Removed option to disable Salvage via the config file. This should be handled via permissions instead.
  - Removed option to disable Salvage via the config file. This should be handled via permissions instead.
  - Removed the option to use Woodcutting without an axe from the config file.
  - Removed the option to use Woodcutting without an axe from the config file.

+ 0 - 2
src/main/java/com/gmail/nossr50/util/Permissions.java

@@ -231,8 +231,6 @@ public final class Permissions {
         for (World world : server.getWorlds()) {
         for (World world : server.getWorlds()) {
             addDynamicPermission("mcmmo.commands.ptp.world." + world.getName(), PermissionDefault.OP, pluginManager);
             addDynamicPermission("mcmmo.commands.ptp.world." + world.getName(), PermissionDefault.OP, pluginManager);
         }
         }
-
-        addDynamicPermission("mcmmo.commands.ptp.world.all", PermissionDefault.OP, pluginManager);
     }
     }
 
 
     private static void addDynamicPermission(String permissionName, PermissionDefault permissionDefault, PluginManager pluginManager) {
     private static void addDynamicPermission(String permissionName, PermissionDefault permissionDefault, PluginManager pluginManager) {