Finish the Inventory item improvements
This commit is contained in:
parent
83039c6144
commit
2f8ec1b79c
9 changed files with 107 additions and 13 deletions
|
|
@ -84,6 +84,7 @@ 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);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue