resource: change BlockColor into an array

This commit is contained in:
Matthias Schiffer 2023-03-04 21:32:15 +01:00
parent fbf212b55f
commit 46802116d9
Signed by: neocturne
GPG key ID: 16EF3F64CB201D9C
4 changed files with 942 additions and 942 deletions

View file

@ -34,7 +34,7 @@ where
}
#[derive(Debug, Clone, Copy, Serialize, Deserialize)]
pub struct BlockColor(pub u8, pub u8, pub u8);
pub struct BlockColor(pub [u8; 3]);
#[derive(Debug, Clone, Copy, Serialize, Deserialize)]
pub struct BlockType {