Skip to content

Commit f371866

Browse files
committed
Added block interaction handler and module
1 parent f3c0a6d commit f371866

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

‎server/player/src/packet_handlers.rs‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
//! Systems which handle packets.
22
33
mod animation;
4+
mod block_interaction;
45
mod chat;
56
mod digging;
67
mod inventory;
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
mod crafting_table;
2+
3+
pub use crafting_table::CraftingTableInteraction;
4+
5+
pub trait InteractionHandler: Send + Sync {
6+
fn handle_interaction(&self);
7+
}

0 commit comments

Comments
 (0)