diff --git a/src/me/libraryaddict/disguise/commands/DisguiseCommand.java b/src/me/libraryaddict/disguise/commands/DisguiseCommand.java index 722a6d48..744eec96 100644 --- a/src/me/libraryaddict/disguise/commands/DisguiseCommand.java +++ b/src/me/libraryaddict/disguise/commands/DisguiseCommand.java @@ -30,7 +30,7 @@ public class DisguiseCommand extends BaseDisguiseCommand { } catch (Exception ex) { if (ex.getMessage() != null && !ChatColor.getLastColors(ex.getMessage()).equals("")) { sender.sendMessage(ex.getMessage()); - } else if (ex.getCause() != null) { + } else { ex.printStackTrace(); } return true; diff --git a/src/me/libraryaddict/disguise/commands/DisguiseEntityCommand.java b/src/me/libraryaddict/disguise/commands/DisguiseEntityCommand.java index f9d27c18..65a994b8 100644 --- a/src/me/libraryaddict/disguise/commands/DisguiseEntityCommand.java +++ b/src/me/libraryaddict/disguise/commands/DisguiseEntityCommand.java @@ -34,7 +34,7 @@ public class DisguiseEntityCommand extends BaseDisguiseCommand { } catch (Exception ex) { if (ex.getMessage() != null && !ChatColor.getLastColors(ex.getMessage()).equals("")) { sender.sendMessage(ex.getMessage()); - } else if (ex.getCause() != null) { + } else { ex.printStackTrace(); } return true; diff --git a/src/me/libraryaddict/disguise/commands/DisguisePlayerCommand.java b/src/me/libraryaddict/disguise/commands/DisguisePlayerCommand.java index e4e5f912..e57c99ad 100644 --- a/src/me/libraryaddict/disguise/commands/DisguisePlayerCommand.java +++ b/src/me/libraryaddict/disguise/commands/DisguisePlayerCommand.java @@ -47,7 +47,7 @@ public class DisguisePlayerCommand extends BaseDisguiseCommand { } catch (Exception ex) { if (ex.getMessage() != null && !ChatColor.getLastColors(ex.getMessage()).equals("")) { sender.sendMessage(ex.getMessage()); - } else if (ex.getCause() != null) { + } else { ex.printStackTrace(); } return true; diff --git a/src/me/libraryaddict/disguise/commands/DisguiseRadiusCommand.java b/src/me/libraryaddict/disguise/commands/DisguiseRadiusCommand.java index 04eccb31..345c77f8 100644 --- a/src/me/libraryaddict/disguise/commands/DisguiseRadiusCommand.java +++ b/src/me/libraryaddict/disguise/commands/DisguiseRadiusCommand.java @@ -103,7 +103,7 @@ public class DisguiseRadiusCommand extends BaseDisguiseCommand { } catch (Exception ex) { if (ex.getMessage() != null && !ChatColor.getLastColors(ex.getMessage()).equals("")) { sender.sendMessage(ex.getMessage()); - } else if (ex.getCause() != null) { + } else { ex.printStackTrace(); } return true;