Changed inventory storage to use Map

This commit is contained in:
danielv authored and Daniel committed 2021-07-12 22:05:54 +02:00
1 parent 98f801e244
commit 37052e1f68
3 files changed
+15 -24

No files matched your search

-4
View File
@@ -59,9 +59,6 @@ module.exports = {
"player_name": { type: "string" },
"inventory": { type: "object" },
},
responseProperties: {
"success": { type: "boolean" },
},
}),
download: new libLink.Request({
type: "inventory_sync:download",
@@ -80,7 +77,6 @@ module.exports = {
type: "inventory_sync:databaseStats",
links: ["control-master"],
permission: "inventory_sync.inventory.view",
requestProperties: {},
responseProperties: {
"database_size": { type: "integer" },
"database_entries": { type: "integer" },