From 0be2030b1aee7f2ff650245c32d677283eeb15fe Mon Sep 17 00:00:00 2001 From: metamuffin Date: Fri, 19 Sep 2025 22:43:08 +0200 Subject: fix set progress finish missing warn flag --- server/src/interaction.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'server/src') diff --git a/server/src/interaction.rs b/server/src/interaction.rs index be291f67..624d9893 100644 --- a/server/src/interaction.rs +++ b/server/src/interaction.rs @@ -240,13 +240,13 @@ pub fn tick_slot( return; } if a.position >= 1. { - if let Recipe::Passive { output, .. } = &data.recipe(a.recipe) { + if let Recipe::Passive { output, warn, .. } = &data.recipe(a.recipe) { *slot = output.map(|kind| Item { kind, active: None }); score.passive_recipes += 1; *score_changed = true; packet_out.push_back(PacketC::SetProgress { player: None, - warn: false, + warn: *warn, item: slot_loc, position: 1., speed: 0., -- cgit v1.2.3-70-g09d2