1
2
Fork 0
mirror of https://github.com/mat-1/azalea.git synced 2025-08-02 14:26:04 +00:00

derive Copy for ChunkSectionBlockPos

This commit is contained in:
mat 2023-07-20 05:01:58 -05:00
parent a985cc7442
commit 85357a4b6f

View file

@ -234,7 +234,7 @@ impl ChunkBlockPos {
/// The coordinates of a block inside a chunk section. Each coordinate must be
/// in the range [0, 15].
#[derive(Clone, Debug, Default, PartialEq, Eq)]
#[derive(Clone, Copy, Debug, Default, PartialEq, Eq)]
pub struct ChunkSectionBlockPos {
pub x: u8,
pub y: u8,