refactor: minor variable name changes

This commit is contained in:
2025-03-03 16:47:09 -05:00
parent 67ebdfac72
commit 387e43e312
2 changed files with 11 additions and 19 deletions

View File

@@ -21,7 +21,7 @@ impl UserData for ItemStack {
Ok(if let Some(data) = this.inner.as_present() {
data.components
.get::<CustomName>()
.map(|n| n.name.to_string())
.map(|c| c.name.to_string())
} else {
None
})