Format code [skip actions]

This commit is contained in:
github-actions 2023-06-11 03:32:55 +00:00
parent 15699e562a
commit 3d62e72aa0

View File

@ -11,17 +11,14 @@ import java.util.stream.Collectors;
@Command(
label = "quest",
aliases = {"q"},
usage = {
"(add|finish|running|talking|debug|triggers|grouptriggers) [<questId>]",
"dungeons"
},
usage = {"(add|finish|running|talking|debug|triggers|grouptriggers) [<questId>]", "dungeons"},
permission = "player.quest",
permissionTargeted = "player.quest.others")
public final class QuestCommand implements CommandHandler {
@Override
public void execute(Player sender, Player targetPlayer, List<String> args) {
if (args.size() != 2 || (args.size() == 1 && !args.get(0).toLowerCase().equals("dungeons"))) {
if (args.size() != 2 || (args.size() == 1 && !args.get(0).toLowerCase().equals("dungeons"))) {
sendUsageMessage(sender);
return;
}