Skip to content

Commit

Permalink
redpiler: remove NodeType::is_io_block
Browse files Browse the repository at this point in the history
  • Loading branch information
StackDoubleFlow committed Jul 31, 2024
1 parent 07f4c32 commit 970b3c8
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions crates/core/src/redpiler/backend/direct/node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -130,20 +130,6 @@ pub enum NodeType {
},
}

impl NodeType {
pub fn is_io_block(self) -> bool {
matches!(
self,
NodeType::Lamp
| NodeType::Button
| NodeType::Lever
| NodeType::Trapdoor
| NodeType::PressurePlate
| NodeType::NoteBlock { .. }
)
}
}

#[repr(align(16))]
#[derive(Debug, Clone, Default)]
pub struct NodeInput {
Expand Down

0 comments on commit 970b3c8

Please sign in to comment.