Skip to content

Commit

Permalink
Add /sorters shortcut
Browse files Browse the repository at this point in the history
  • Loading branch information
LucBerge committed Dec 26, 2020
1 parent 7f99142 commit 25f6ec3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/fr/zcraft/zsorter/ZSorter.java
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ public void onEnable() {
RemoveOutputCommand.class,
MagicCommand.class
);
Commands.registerShortcut("sorter", ListCommand.class, "sorters");

if(load()) {
SortTask.getInstance().start();
Expand Down
2 changes: 2 additions & 0 deletions src/main/resources/plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ api-version: "1.13"
commands:
sorter:
description: Manage your sorters in game
sorters:
description: List all the sorters in game

# Permissions section generated using https://amaury.carrade.eu/tools/generators/bukkit/permissions.html
permissions:
Expand Down

0 comments on commit 25f6ec3

Please sign in to comment.