mirror of
https://github.com/horizon-rust/horizon.git
synced 2026-11-07 11:06:11 -10:00
Fit the new match arm on one line
This commit is contained in:
1 parent
c7286edfbe
commit
f58c0ae1bf
1 file changed
+1
-3
@@ -3462,9 +3462,7 @@ pub fn apply_item_components(m: &mut Mob, stack: &crate::items::ItemStack) {
|
||||
Some("minecraft:pig/sound_variant"),
|
||||
),
|
||||
// ZombieNautilus.applyImplicitComponents: the variant only.
|
||||
crate::mobs::Species::ZombieNautilus => {
|
||||
(Some("minecraft:zombie_nautilus/variant"), None)
|
||||
}
|
||||
crate::mobs::Species::ZombieNautilus => (Some("minecraft:zombie_nautilus/variant"), None),
|
||||
_ => (None, None),
|
||||
};
|
||||
if let Some(name) = variant.and_then(|id| text(components.other(id))) {
|
||||
|
||||
Reference in new issue
Block a user