Skip to content

Commit

Permalink
- Reldens - Items System
Browse files Browse the repository at this point in the history
  • Loading branch information
Damian A. Pastorini committed Jul 12, 2020
1 parent 25e7630 commit bbef89d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion lib/server/storage/models-manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ class ModelsManager
constructor()
{
this.dataServer = DataServer;
this.dataServer.initialize();
if(!DataServer.initialized){
DataServer.initialize();
}
this.models = {
item: ItemModel,
group: GroupModel,
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@reldens/items-system",
"version": "0.5.1",
"version": "0.5.2",
"description": "Reldens - Items System",
"source": true,
"homepage": "https://github.com/damian-pastorini/reldens-items",
Expand Down Expand Up @@ -37,7 +37,7 @@
"license": "MIT",
"dependencies": {
"@reldens/utils": "^0.1.5",
"@reldens/storage": "^0.1.3"
"@reldens/storage": "^0.1.4"
},
"devDependencies": {}
}

0 comments on commit bbef89d

Please sign in to comment.