Change Exception > Throwable
This commit is contained in:
parent
f3766bc10b
commit
5e57356e6a
@ -49,7 +49,7 @@ public class CommandAlertRaw extends Command
|
||||
create() );
|
||||
} else
|
||||
{
|
||||
sender.sendMessage(new ComponentBuilder( "An error occurred while parsing your message: " ).color( ChatColor.RED ).append( e.getMessage() ).create() );
|
||||
sender.sendMessage(new ComponentBuilder( "An error occurred while parsing your message: " ).color( ChatColor.RED ).append( error.getMessage() ).create() );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user