Skip to content

Commit 983383b

Browse files
committed
added azalea.configure
1 parent e361178 commit 983383b

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
<groupId>net.azalealibrary</groupId>
1515
<artifactId>configuration</artifactId>
16-
<version>1.1.0</version>
16+
<version>1.1.1</version>
1717

1818
<repositories>
1919
<repository>

src/main/java/net/azalealibrary/configuration/ConfigureCommand.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
import org.bukkit.ChatColor;
1010
import org.bukkit.command.CommandSender;
1111

12+
import javax.annotation.Nullable;
1213
import java.util.ArrayList;
1314
import java.util.Arrays;
1415
import java.util.List;
@@ -21,6 +22,11 @@ public ConfigureCommand() {
2122
super("configure");
2223
}
2324

25+
@Override
26+
public @Nullable String getPermission() {
27+
return "azalea.configure";
28+
}
29+
2430
@Override
2531
public List<String> complete(CommandSender sender, Arguments arguments) {
2632
if (arguments.size() == 1) {

0 commit comments

Comments
 (0)