refactor: clean up import paths
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
use azalea::entity::LookDirection;
|
||||
use mlua::{FromLua, IntoLua, Lua, Result, Value};
|
||||
use mlua::{Error, FromLua, IntoLua, Lua, Result, Value};
|
||||
|
||||
#[derive(Clone)]
|
||||
pub struct Direction {
|
||||
@@ -37,7 +37,7 @@ impl FromLua for Direction {
|
||||
}
|
||||
})
|
||||
} else {
|
||||
Err(mlua::Error::FromLuaConversionError {
|
||||
Err(Error::FromLuaConversionError {
|
||||
from: value.type_name(),
|
||||
to: "Direction".to_string(),
|
||||
message: None,
|
||||
|
Reference in New Issue
Block a user