Cleanup log statement

This commit is contained in:
Oliver-Akins 2024-02-10 13:22:20 -07:00
parent cad3cdd5f1
commit 30fee77c8e
6 changed files with 3 additions and 6 deletions

View file

@ -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);
};

View file

@ -136,6 +136,7 @@ async function preUntypedEmbed(item) {
function getRollData() {
const data = {
initiative: this.system.stats.hands ?? 0,
stats: this.system.stats,
};
return data;
};