Skip to content
This repository was archived by the owner on Jun 7, 2022. It is now read-only.

Commit ceae81a

Browse files
author
Tareko
authored
Merge pull request #28 from McRuben/patch-2
Fixed typing error in the permission
2 parents b0b6226 + c7f25b8 commit ceae81a

File tree

1 file changed

+2
-2
lines changed
  • cloudnet-api/cloudnet-api-bridge/src/main/java/de/dytanic/cloudnet/bridge/internal/command/proxied

1 file changed

+2
-2
lines changed

cloudnet-api/cloudnet-api-bridge/src/main/java/de/dytanic/cloudnet/bridge/internal/command/proxied/CommandCloud.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ public void execute(CommandSender commandSender, String[] args)
8383
"The information was sent to the cloud");
8484
return;
8585
}
86-
if (args[0].equalsIgnoreCase("statistics") && commandSender.hasPermission("cloudnet.ommand.cloud.statistics"))
86+
if (args[0].equalsIgnoreCase("statistics") && commandSender.hasPermission("cloudnet.command.cloud.statistics"))
8787
{
8888
Document document = CloudAPI.getInstance().getStatistics();
8989

@@ -583,4 +583,4 @@ public Iterable<String> onTabComplete(CommandSender commandSender, String[] args
583583
{
584584
return new LinkedList<>(CloudProxy.getInstance().getCachedServers().keySet());
585585
}
586-
}
586+
}

0 commit comments

Comments
 (0)