mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-12-26 10:37:57 +01:00
Fixed bug where the 'mcmmo.commands.ptp.world.all' was registered twice.
Fixes #787
This commit is contained in:
parent
9377de930f
commit
d40d89f29a
@ -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.
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user