mirror of
https://github.com/neocturne/MinedMap.git
synced 2025-07-04 06:39:07 +02:00
resource: change BlockColor into an array
This commit is contained in:
parent
fbf212b55f
commit
46802116d9
4 changed files with 942 additions and 942 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue