diff options
Diffstat (limited to 'server/src')
-rw-r--r-- | server/src/interaction.rs | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/server/src/interaction.rs b/server/src/interaction.rs index 74d31cd8..ce9cb075 100644 --- a/server/src/interaction.rs +++ b/server/src/interaction.rs @@ -58,7 +58,6 @@ pub fn interact( *other = outputs[0].map(|kind| Item { kind, active: None }); *this = outputs[1].map(|kind| Item { kind, active: None }); produce( - player, this_had_item, other_had_item, this, @@ -158,7 +157,6 @@ pub fn interact( score.instant_recipes += 1; *score_changed = true; produce( - player, this_had_item, other_had_item, this, @@ -307,7 +305,6 @@ pub fn tick_slot( #[allow(clippy::too_many_arguments)] fn produce( - player: Option<PlayerID>, this_had_item: bool, other_had_item: bool, this: &Option<Item>, @@ -320,13 +317,6 @@ fn produce( info!("produce {this_loc} <~ {other_loc}"); *score_changed = true; if this_had_item { - packet_out.push_back(PacketC::SetProgress { - player, - item: this_loc, - position: 1., - speed: 0., - warn: false, - }); packet_out.push_back(PacketC::SetItem { location: this_loc, item: None, |