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');
const config = {
file: './storage.db',
dbName: 'ptr',
dbName: 'live',
dropTables: true,
......
......@@ -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
}));
}
......
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