Co-Authored-By: Hermes Agent (Nous Research) <[email protected]>
This commit is contained in:
AlexanderandHermes Agent committed 2026-10-28 10:58:20 +03:00
1 parent 626068da3a
commit 3511d556ef
1 file changed
+4 -1
+4 -1
View File
@@ -5779,7 +5779,10 @@ impl Game<'_> {
Some(None) => return,
Some(Some((count, capped))) => {
batch.fill(&self.gui.atlas, x, y, 16.0, 16.0, rgba(255, 255, 255, 128));
carried = self.carried.clone().map(|c| ItemStack { count: *count, ..c });
carried = self
.carried
.clone()
.map(|c| ItemStack { count: *count, ..c });
(carried.as_ref(), *capped)
}
None => (stack.as_ref(), false),