Restrict crafter result rendering to crafter menus

This commit is contained in:
Cosmic
2026-10-16 14:33:44 -04:00
parent 71635fbab7
commit bfb6a0458d
+3 -1
View File
@@ -4109,7 +4109,9 @@ impl Game<'_> {
fn slot_view(&mut self, i: usize) -> Option<ItemStack> {
match i {
200 => self.craft_result(),
309 => self.crafter_result(),
309 if matches!(self.container_kind(), Some(BlockEntity::Crafter(_))) => {
self.crafter_result()
}
_ => self.slot_mut(i).clone(),
}
}