[Feature] 1031 - Action Names In Chat (#1039)

* Fixed so that actions don't print the actor name in chat along with its own name

* .
This commit is contained in:
WBHarry 2025-08-26 14:13:31 +02:00 committed by GitHub
parent 990c73987e
commit 3386a9d61d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -163,7 +163,7 @@ export default class DHBaseAction extends ActionMixin(foundry.abstract.DataModel
const hasRoll = this.getUseHasRoll(byPass); const hasRoll = this.getUseHasRoll(byPass);
return { return {
event, event,
title: `${this.item.name}: ${game.i18n.localize(this.name)}`, title: `${this.item instanceof CONFIG.Actor.documentClass ? '' : `${this.item.name}: `}${game.i18n.localize(this.name)}`,
source: { source: {
item: this.item._id, item: this.item._id,
action: this._id, action: this._id,