diff options
author | Bram Ceulemans <bram.agjm1@gmail.com> | 2021-08-19 21:49:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-19 20:49:03 +0100 |
commit | c4f96ced241802e40076d704b8977e2b35aff2b6 (patch) | |
tree | 3e25b804fa418904f9ce541d2049d49677417c49 /spark-sponge8/src/main/java/me | |
parent | 44c8ba9402dedbf7bc082c2384aeef680a5c0b7b (diff) | |
download | spark-c4f96ced241802e40076d704b8977e2b35aff2b6.tar.gz spark-c4f96ced241802e40076d704b8977e2b35aff2b6.tar.bz2 spark-c4f96ced241802e40076d704b8977e2b35aff2b6.zip |
Sponge8SparkPlugin: use new CommandResult.success() instead of empty() (#132)
Diffstat (limited to 'spark-sponge8/src/main/java/me')
-rw-r--r-- | spark-sponge8/src/main/java/me/lucko/spark/sponge/Sponge8SparkPlugin.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spark-sponge8/src/main/java/me/lucko/spark/sponge/Sponge8SparkPlugin.java b/spark-sponge8/src/main/java/me/lucko/spark/sponge/Sponge8SparkPlugin.java index fff93fb..f1a54b6 100644 --- a/spark-sponge8/src/main/java/me/lucko/spark/sponge/Sponge8SparkPlugin.java +++ b/spark-sponge8/src/main/java/me/lucko/spark/sponge/Sponge8SparkPlugin.java @@ -145,7 +145,7 @@ public class Sponge8SparkPlugin implements SparkPlugin { public CommandResult process(CommandCause cause, ArgumentReader.Mutable arguments) { this.plugin.threadDumper.ensureSetup(); this.plugin.platform.executeCommand(new Sponge8CommandSender(cause), arguments.input().split(" ")); - return CommandResult.empty(); + return CommandResult.success(); } @Override |