Fix for a error being thrown when there is no error
This commit is contained in:
@@ -56,7 +56,7 @@ public class DisguiseRadiusCommand extends BaseDisguiseCommand {
|
||||
} catch (Exception ex) {
|
||||
if (ex.getMessage() != null && !ChatColor.getLastColors(ex.getMessage()).equals("")) {
|
||||
sender.sendMessage(ex.getMessage());
|
||||
} else {
|
||||
} else if (ex.getCause() != null) {
|
||||
ex.printStackTrace();
|
||||
}
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user