diff options
author | Luck <git@lucko.me> | 2020-04-24 15:54:41 +0100 |
---|---|---|
committer | Luck <git@lucko.me> | 2020-04-24 15:54:41 +0100 |
commit | 706a8768b5fc536ed746788cd9c65c7254df6bb4 (patch) | |
tree | b8582b71287ac7e0029009288f43f169966b6f1d | |
parent | dbea2ba90ff639e43bc504636358582c95b08b31 (diff) | |
download | spark-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.java | 1 |
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; |