mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-04-25 16:09:44 +00:00
Print stack trace if debug is enabled.
This commit is contained in:
parent
01bf7d1389
commit
effad664d5
1 changed files with 3 additions and 0 deletions
|
@ -439,6 +439,9 @@ public class Essentials extends JavaPlugin implements net.ess3.api.IEssentials {
|
|||
return true;
|
||||
} catch (Exception ex) {
|
||||
showError(sender, ex, commandLabel);
|
||||
if(settings.isDebug()) {
|
||||
ex.printStackTrace();
|
||||
}
|
||||
return true;
|
||||
}
|
||||
} catch (Throwable ex) {
|
||||
|
|
Loading…
Reference in a new issue