aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuck <git@lucko.me>2020-04-24 15:54:41 +0100
committerLuck <git@lucko.me>2020-04-24 15:54:41 +0100
commit706a8768b5fc536ed746788cd9c65c7254df6bb4 (patch)
treeb8582b71287ac7e0029009288f43f169966b6f1d
parentdbea2ba90ff639e43bc504636358582c95b08b31 (diff)
downloadspark-706a8768b5fc536ed746788cd9c65c7254df6bb4.tar.gz
spark-706a8768b5fc536ed746788cd9c65c7254df6bb4.tar.bz2
spark-706a8768b5fc536ed746788cd9c65c7254df6bb4.zip
Don't print command exceptions to console
-rw-r--r--spark-common/src/main/java/me/lucko/spark/common/SparkPlatform.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/spark-common/src/main/java/me/lucko/spark/common/SparkPlatform.java b/spark-common/src/main/java/me/lucko/spark/common/SparkPlatform.java
index 4d6557b..da4f4d8 100644
--- a/spark-common/src/main/java/me/lucko/spark/common/SparkPlatform.java
+++ b/spark-common/src/main/java/me/lucko/spark/common/SparkPlatform.java
@@ -199,7 +199,6 @@ public class SparkPlatform {
try {
command.executor().execute(this, sender, resp, new Arguments(rawArgs));
} catch (IllegalArgumentException e) {
- e.printStackTrace();
resp.replyPrefixed(TextComponent.of(e.getMessage(), TextColor.RED));
}
return;