From d40d89f29af984e6964862b7720636d96e8f8f1b Mon Sep 17 00:00:00 2001 From: GJ Date: Thu, 7 Mar 2013 08:07:55 -0500 Subject: [PATCH] Fixed bug where the 'mcmmo.commands.ptp.world.all' was registered twice. Fixes #787 --- Changelog.txt | 1 + src/main/java/com/gmail/nossr50/util/Permissions.java | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Changelog.txt b/Changelog.txt index 987a55bfe..439f7d2e7 100644 --- a/Changelog.txt +++ b/Changelog.txt @@ -13,6 +13,7 @@ Version 1.4.03-dev = Fixed bug with repairing using materials with byte metadata = Fixed bug where Fishing was becoming less successful at higher levels = 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 - 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. diff --git a/src/main/java/com/gmail/nossr50/util/Permissions.java b/src/main/java/com/gmail/nossr50/util/Permissions.java index e4bba0500..e8922acbd 100644 --- a/src/main/java/com/gmail/nossr50/util/Permissions.java +++ b/src/main/java/com/gmail/nossr50/util/Permissions.java @@ -231,8 +231,6 @@ public final class Permissions { for (World world : server.getWorlds()) { 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) {