fix normal build due to cfg error
This commit is contained in:
parent
791749b8d7
commit
694616f2cf
@ -64,6 +64,7 @@ impl Config {
|
||||
}
|
||||
|
||||
impl Config {
|
||||
#[cfg(feature = "custom_pieces")]
|
||||
pub fn get_pieces(&self) -> &Option<HashMap<String, CustomPiece>> {
|
||||
&self.pieces
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user