mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Fix locking bugs and make inventory deserialization errors more specific
This commit is contained in:
parent
6bc4cad0ed
commit
c061bdd37f
2 changed files with 11 additions and 6 deletions
|
@ -938,7 +938,7 @@ void Inventory::deSerialize(std::istream &is)
|
|||
}
|
||||
else
|
||||
{
|
||||
throw SerializationError("invalid inventory specifier");
|
||||
throw SerializationError("invalid inventory specifier: " + name);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue