diff --git a/.gitignore b/.gitignore index 942d446..2b6bc59 100644 --- a/.gitignore +++ b/.gitignore @@ -28,3 +28,6 @@ gradle.properties build/* .gradle/* .idea/* +.gradle/7.2/executionHistory/executionHistory.bin +*.bin +*.lock diff --git a/.gradle/7.2/executionHistory/executionHistory.bin b/.gradle/7.2/executionHistory/executionHistory.bin index 0a5affe..1ed385c 100644 Binary files a/.gradle/7.2/executionHistory/executionHistory.bin and b/.gradle/7.2/executionHistory/executionHistory.bin differ diff --git a/.gradle/7.2/executionHistory/executionHistory.lock b/.gradle/7.2/executionHistory/executionHistory.lock index 4f6734c..08598c7 100644 Binary files a/.gradle/7.2/executionHistory/executionHistory.lock and b/.gradle/7.2/executionHistory/executionHistory.lock differ diff --git a/.gradle/7.2/fileHashes/fileHashes.bin b/.gradle/7.2/fileHashes/fileHashes.bin index 31ea1af..bba1b64 100644 Binary files a/.gradle/7.2/fileHashes/fileHashes.bin and b/.gradle/7.2/fileHashes/fileHashes.bin differ diff --git a/.gradle/7.2/fileHashes/fileHashes.lock b/.gradle/7.2/fileHashes/fileHashes.lock index 3d698a9..f8c83cb 100644 Binary files a/.gradle/7.2/fileHashes/fileHashes.lock and b/.gradle/7.2/fileHashes/fileHashes.lock differ diff --git a/.gradle/7.2/fileHashes/resourceHashesCache.bin b/.gradle/7.2/fileHashes/resourceHashesCache.bin index 2cd64a1..7ace2a1 100644 Binary files a/.gradle/7.2/fileHashes/resourceHashesCache.bin and b/.gradle/7.2/fileHashes/resourceHashesCache.bin differ diff --git a/.gradle/buildOutputCleanup/buildOutputCleanup.lock b/.gradle/buildOutputCleanup/buildOutputCleanup.lock index 3e48be8..ddb4b55 100644 Binary files a/.gradle/buildOutputCleanup/buildOutputCleanup.lock and b/.gradle/buildOutputCleanup/buildOutputCleanup.lock differ diff --git a/.gradle/checksums/checksums.lock b/.gradle/checksums/checksums.lock index 71a0e24..2f0d902 100644 Binary files a/.gradle/checksums/checksums.lock and b/.gradle/checksums/checksums.lock differ diff --git a/.gradle/checksums/md5-checksums.bin b/.gradle/checksums/md5-checksums.bin index 3ea52c5..41b2bbc 100644 Binary files a/.gradle/checksums/md5-checksums.bin and b/.gradle/checksums/md5-checksums.bin differ diff --git a/.gradle/checksums/sha1-checksums.bin b/.gradle/checksums/sha1-checksums.bin index 9997299..c068420 100644 Binary files a/.gradle/checksums/sha1-checksums.bin and b/.gradle/checksums/sha1-checksums.bin differ diff --git a/build/tmp/compileJava/previous-compilation-data.bin b/build/tmp/compileJava/previous-compilation-data.bin index 8924f47..fd3ba80 100644 Binary files a/build/tmp/compileJava/previous-compilation-data.bin and b/build/tmp/compileJava/previous-compilation-data.bin differ diff --git a/src/main/java/io/github/simplexdevelopment/cl/DummyCommand.java b/src/main/java/io/github/simplexdevelopment/cl/DummyCommand.java index 890302a..e397abe 100644 --- a/src/main/java/io/github/simplexdevelopment/cl/DummyCommand.java +++ b/src/main/java/io/github/simplexdevelopment/cl/DummyCommand.java @@ -9,7 +9,7 @@ import org.jetbrains.annotations.NotNull; import java.util.List; -public final class DummyCommand extends Command implements PluginIdentifiableCommand { +final class DummyCommand extends Command implements PluginIdentifiableCommand { private final CommandBase base; private final Plugin plugin; diff --git a/src/main/java/io/github/simplexdevelopment/cl/api/ICommand.java b/src/main/java/io/github/simplexdevelopment/cl/api/ICommand.java index 5d24ba3..71bc0f8 100644 --- a/src/main/java/io/github/simplexdevelopment/cl/api/ICommand.java +++ b/src/main/java/io/github/simplexdevelopment/cl/api/ICommand.java @@ -10,7 +10,6 @@ public interface ICommand extends CommandExecutor, TabCompleter { * * @param sender The user who sent the command. (Provided by Paper) * @param args The additional arguments to the command, if applicable (Provided by Paper) - * @param allowConsole Whether the command should be allowed anywhere, or only in game. */ void execute(CommandSender sender, String[] args); } diff --git a/src/main/java/io/github/simplexdevelopment/cl/impl/ExampleCommand.java b/src/main/java/io/github/simplexdevelopment/cl/impl/ExampleCommand.java index c3ed33a..676e64e 100644 --- a/src/main/java/io/github/simplexdevelopment/cl/impl/ExampleCommand.java +++ b/src/main/java/io/github/simplexdevelopment/cl/impl/ExampleCommand.java @@ -16,7 +16,11 @@ public final class ExampleCommand extends CommandBase { @Override public void execute(CommandSender sender, String[] args) { - if (subCommand("info", sender, getPermission() + ".info", args, () -> sender.sendMessage(msg("SimplexCL was created by SimplexDevelopment!", BasicColors.GOLD)))) { + if (subCommand("info", + sender, + getPermission() + ".info", + args, + () -> sender.sendMessage(msg("SimplexCL was created by SimplexDevelopment!", BasicColors.GOLD)))) { return; }