mindustry logic execution, map- and schematic- parsing and rendering
Diffstat (limited to 'src/block/power.rs')
-rw-r--r--src/block/power.rs8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/block/power.rs b/src/block/power.rs
index ada60c9..2e47956 100644
--- a/src/block/power.rs
+++ b/src/block/power.rs
@@ -66,7 +66,7 @@ pub struct ConnectorBlock {
size: u8,
symmetric: bool,
build_cost: BuildCost,
- max: u8,
+ pub max: u8,
}
impl ConnectorBlock {
@@ -84,12 +84,6 @@ impl ConnectorBlock {
max,
}
}
-
- #[must_use]
- pub fn get_max_links(&self) -> u8 {
- self.max
- }
-
state_impl!(pub Vec<(i16, i16)>);
}