aboutsummaryrefslogtreecommitdiff
path: root/azalea-core/src
diff options
context:
space:
mode:
Diffstat (limited to 'azalea-core/src')
-rw-r--r--azalea-core/src/registry_holder/entity_effect.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/azalea-core/src/registry_holder/entity_effect.rs b/azalea-core/src/registry_holder/entity_effect.rs
index 7615c4df..442b0e1a 100644
--- a/azalea-core/src/registry_holder/entity_effect.rs
+++ b/azalea-core/src/registry_holder/entity_effect.rs
@@ -179,7 +179,7 @@ impl Deserialize for PlaySound {
// strings.
list.strings()
.ok_or(DeserializeError::MissingField)?
- .into_iter()
+ .iter()
.map(|s| {
SoundEvent::from_str(&s.to_str())
.map(Holder::Reference)