Cleanup log statement
This commit is contained in:
parent
cad3cdd5f1
commit
30fee77c8e
6 changed files with 3 additions and 6 deletions
|
|
@ -85,7 +85,6 @@ export class ActorHandler extends Actor {
|
|||
*/
|
||||
async preItemEmbed(item) {
|
||||
let type = item.type[0].toUpperCase() + item.type.slice(1);
|
||||
console.log(`preEmbed type =`, type)
|
||||
if (this.fn?.[`pre${type}Embed`]) {
|
||||
return await this.fn?.[`pre${type}Embed`].bind(this)(item);
|
||||
};
|
||||
|
|
|
|||
|
|
@ -136,6 +136,7 @@ async function preUntypedEmbed(item) {
|
|||
function getRollData() {
|
||||
const data = {
|
||||
initiative: this.system.stats.hands ?? 0,
|
||||
stats: this.system.stats,
|
||||
};
|
||||
return data;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue