Add icons and background
This commit is contained in:
@ -154,6 +154,8 @@ export class HawkmoonActorSheet extends ActorSheet {
|
||||
let autoresult = HawkmoonAutomation.processAutomations("on-drop", item, this.actor)
|
||||
if ( autoresult.isValid ) {
|
||||
super._onDropItem(event, dragData)
|
||||
} else {
|
||||
ui.notifications.warn( autoresult.warningMessage)
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user