mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 00:25:19 +02:00
Address some clang-tidy warnings
This commit is contained in:
@@ -392,7 +392,7 @@ bool ItemStack::itemFits(ItemStack newitem,
|
||||
return newitem.empty();
|
||||
}
|
||||
|
||||
bool ItemStack::stacksWith(ItemStack other) const
|
||||
bool ItemStack::stacksWith(const ItemStack &other) const
|
||||
{
|
||||
return (this->name == other.name &&
|
||||
this->wear == other.wear &&
|
||||
|
Reference in New Issue
Block a user