mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-25 10:14:43 +02:00
Fixed bug where the 'mcmmo.commands.ptp.world.all' was registered twice.
Fixes #787
This commit is contained in:
@ -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) {
|
||||
|
Reference in New Issue
Block a user