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

Fixes #787
This commit is contained in:
GJ
2013-03-07 08:07:55 -05:00
parent 9377de930f
commit d40d89f29a
2 changed files with 1 additions and 2 deletions

View File

@ -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) {