Working on 0.8.x
- some fix for 0.8.3, and working on titles
This commit is contained in:
@@ -3,10 +3,10 @@ export class ItemL5r5e extends Item {
|
||||
* Create a new entity using provided input data
|
||||
* @override
|
||||
*/
|
||||
static async create(data, options = {}) {
|
||||
static async create(data, context = {}) {
|
||||
if (data.img === undefined) {
|
||||
data.img = `${CONFIG.l5r5e.paths.assets}icons/items/${data.type}.svg`;
|
||||
}
|
||||
return super.create(data, options);
|
||||
return super.create(data, context);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user