aboutsummaryrefslogtreecommitdiff
path: root/azalea-physics/src/collision/blocks.rs
diff options
context:
space:
mode:
Diffstat (limited to 'azalea-physics/src/collision/blocks.rs')
-rw-r--r--azalea-physics/src/collision/blocks.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/azalea-physics/src/collision/blocks.rs b/azalea-physics/src/collision/blocks.rs
index 9394bbc7..01784963 100644
--- a/azalea-physics/src/collision/blocks.rs
+++ b/azalea-physics/src/collision/blocks.rs
@@ -6,11 +6,12 @@
#![allow(clippy::explicit_auto_deref)]
#![allow(clippy::redundant_closure)]
-use super::VoxelShape;
-use crate::collision::{self, Shapes};
use azalea_block::*;
use once_cell::sync::Lazy;
+use super::VoxelShape;
+use crate::collision::{self, Shapes};
+
pub trait BlockWithShape {
fn shape(&self) -> &'static VoxelShape;
/// Tells you whether the block has an empty shape.