Big WIP...
This commit is contained in:
@ -4,7 +4,7 @@ import { Misc } from "./misc.js";
|
||||
export class RdDSheetUtility {
|
||||
|
||||
static getItem(event, actor) {
|
||||
return actor.items.get(RdDSheetUtility.getItemId(event));
|
||||
return actor.items.get(RdDSheetUtility.getItemId(event))
|
||||
}
|
||||
|
||||
static getItemId(event) {
|
||||
@ -21,7 +21,7 @@ export class RdDSheetUtility {
|
||||
}
|
||||
|
||||
static prepareItemDropParameters(destItemId, actorId, dragData, objetVersConteneur) {
|
||||
const itemId = dragData.id || dragData._id
|
||||
const itemId = dragData.id || dragData.data._id
|
||||
return {
|
||||
destId: destItemId,
|
||||
targetActorId: actorId,
|
||||
|
Reference in New Issue
Block a user