Commit 5b0e182f authored by Big Bad Waffle's avatar Big Bad Waffle

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

parent 8727d9c6
...@@ -5,7 +5,7 @@ let util = require('util'); ...@@ -5,7 +5,7 @@ let util = require('util');
const config = { const config = {
file: './storage.db', file: './storage.db',
dbName: 'ptr', dbName: 'live',
dropTables: true, dropTables: true,
......
...@@ -94,8 +94,8 @@ module.exports = { ...@@ -94,8 +94,8 @@ module.exports = {
text: e.text, text: e.text,
properties: e.properties || null, properties: e.properties || null,
mtx: e.mtx || null, mtx: e.mtx || null,
type: e.type, type: e.type || null,
rolls: e.rolls rolls: e.rolls || null
})); }));
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment