diff options
Diffstat (limited to 'azalea-core/src/position.rs')
| -rwxr-xr-x | azalea-core/src/position.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/azalea-core/src/position.rs b/azalea-core/src/position.rs index e2a9c4cc..31b2d008 100755 --- a/azalea-core/src/position.rs +++ b/azalea-core/src/position.rs @@ -424,11 +424,11 @@ impl From<ChunkSectionBlockPos> for u16 { impl nohash_hasher::IsEnabled for ChunkSectionBlockPos {} /// A block pos with an attached world -#[derive(Debug, Clone)] +#[derive(Debug, Clone, PartialEq)] pub struct GlobalPos { - pub pos: BlockPos, // this is actually a ResourceKey in Minecraft, but i don't think it matters? pub world: ResourceLocation, + pub pos: BlockPos, } impl From<&BlockPos> for ChunkPos { |
