mirror of
https://github.com/horizon-rust/horizon.git
synced 2026-11-11 02:21:38 -10:00
rustfmt
Co-Authored-By: Hermes Agent (Nous Research) <[email protected]>
This commit is contained in:
1 parent
626068da3a
commit
3511d556ef
1 file changed
+4
-1
@@ -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),
|
||||
|
||||
Reference in new issue
Block a user