aboutsummaryrefslogtreecommitdiff
path: root/azalea-brigadier/src/modifier.rs
diff options
context:
space:
mode:
Diffstat (limited to 'azalea-brigadier/src/modifier.rs')
-rw-r--r--azalea-brigadier/src/modifier.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/azalea-brigadier/src/modifier.rs b/azalea-brigadier/src/modifier.rs
index bebdd0cb..aba5e95f 100644
--- a/azalea-brigadier/src/modifier.rs
+++ b/azalea-brigadier/src/modifier.rs
@@ -1,6 +1,6 @@
use std::sync::Arc;
-use crate::{context::CommandContext, exceptions::CommandSyntaxException};
+use crate::{context::CommandContext, errors::CommandSyntaxError};
pub type RedirectModifier<S> =
- dyn Fn(&CommandContext<S>) -> Result<Vec<Arc<S>>, CommandSyntaxException> + Send + Sync;
+ dyn Fn(&CommandContext<S>) -> Result<Vec<Arc<S>>, CommandSyntaxError> + Send + Sync;