mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
parent
042131d91d
commit
531e7ef8eb
3 changed files with 13 additions and 4 deletions
|
@ -23,6 +23,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||
#include "log.h"
|
||||
#include "inventory.h"
|
||||
#include "exceptions.h"
|
||||
#include "convert_json.h"
|
||||
#include "util/serialize.h"
|
||||
#include "util/numeric.h"
|
||||
|
||||
|
@ -142,7 +143,7 @@ void ToolCapabilities::serializeJson(std::ostream &os) const
|
|||
}
|
||||
root["damage_groups"] = damage_groups_object;
|
||||
|
||||
os << root;
|
||||
fastWriteJson(root, os);
|
||||
}
|
||||
|
||||
void ToolCapabilities::deserializeJson(std::istream &is)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue