diff --git a/pom.xml b/pom.xml
index f5938a1..df52e7a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -36,7 +36,7 @@
1.7.4
1.13.2-R0.1-SNAPSHOT
- 1.5.2
+ 1.6.0-SNAPSHOT
1.5.0
1.7
1.2.2-SNAPSHOT
diff --git a/src/main/java/world/bentobox/challenges/commands/ChallengesCommand.java b/src/main/java/world/bentobox/challenges/commands/ChallengesCommand.java
index a4e575f..e0e2502 100644
--- a/src/main/java/world/bentobox/challenges/commands/ChallengesCommand.java
+++ b/src/main/java/world/bentobox/challenges/commands/ChallengesCommand.java
@@ -43,7 +43,7 @@ public class ChallengesCommand extends CompositeCommand
this.getAddon().getLogger().severe("There are no challenges set up in " + this.getWorld() + "!");
// Show admin better explanation.
- if (user.isOp() || user.hasPermission(this.getPermissionPrefix() + ".admin.challenges"))
+ if (user.isOp() || user.hasPermission(this.getPermissionPrefix() + "admin.challenges"))
{
String topLabel = optionalAddon.get().getAdminCommand().orElseGet(this::getParent).getTopLabel();
user.sendMessage("challenges.errors.no-challenges-admin", "[command]", topLabel + " challenges");
@@ -74,10 +74,10 @@ public class ChallengesCommand extends CompositeCommand
if (user.isPlayer())
{
new ChallengesGUI((ChallengesAddon) this.getAddon(),
- this.getWorld(),
- user,
- this.getTopLabel(),
- this.getPermissionPrefix()).build();
+ this.getWorld(),
+ user,
+ this.getTopLabel(),
+ this.getPermissionPrefix()).build();
return true;
}
// Show help