diff options
author | Luck <git@lucko.me> | 2022-06-09 21:21:29 +0100 |
---|---|---|
committer | Luck <git@lucko.me> | 2022-06-09 21:21:29 +0100 |
commit | 0ac8713eaaefe7336db2e0369bbe547dc6c0da7d (patch) | |
tree | 07293873c21d89ef4b2035be56c00d2efa624a45 /spark-common/src/main/java/me/lucko | |
parent | f051a29659c659d9b491bced1acf3cac59074f88 (diff) | |
download | spark-0ac8713eaaefe7336db2e0369bbe547dc6c0da7d.tar.gz spark-0ac8713eaaefe7336db2e0369bbe547dc6c0da7d.tar.bz2 spark-0ac8713eaaefe7336db2e0369bbe547dc6c0da7d.zip |
1.19
Diffstat (limited to 'spark-common/src/main/java/me/lucko')
-rw-r--r-- | spark-common/src/main/java/me/lucko/spark/common/SparkPlatform.java | 3 |
1 files changed, 3 insertions, 0 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 a79d110..0ef4556 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 @@ -300,6 +300,9 @@ public class SparkPlatform { this.commandExecuteLock.lock(); try { executeCommand0(sender, args); + } catch (Exception e) { + this.plugin.log(Level.SEVERE, "Exception occurred whilst executing a spark command"); + e.printStackTrace(); } finally { this.commandExecuteLock.unlock(); executorThread.set(null); |