Browse Source

fixed a bug where certain item effects cause rethink to fail insertion

tags/v0.3.2.1
Big Bad Waffle 5 years ago
parent
commit
5b0e182fe5
2 changed files with 3 additions and 3 deletions
  1. +1
    -1
      helpers/sqlite-to-rethink/index.js
  2. +2
    -2
      src/server/components/inventory.js

+ 1
- 1
helpers/sqlite-to-rethink/index.js View File

@@ -5,7 +5,7 @@ let util = require('util');
const config = {
file: './storage.db',

dbName: 'ptr',
dbName: 'live',

dropTables: true,



+ 2
- 2
src/server/components/inventory.js View File

@@ -94,8 +94,8 @@ module.exports = {
text: e.text,
properties: e.properties || null,
mtx: e.mtx || null,
type: e.type,
rolls: e.rolls
type: e.type || null,
rolls: e.rolls || null
}));
}



Loading…
Cancel
Save