Fix img for drag n drop on compendium
This commit is contained in:
@@ -70,7 +70,7 @@ export class HelpersL5r5e {
|
|||||||
try {
|
try {
|
||||||
// Named pack
|
// Named pack
|
||||||
if (pack) {
|
if (pack) {
|
||||||
const data = await game.packs.get(pack).getEntry(id);
|
const data = await game.packs.get(pack).getEntity(id);
|
||||||
if (data) {
|
if (data) {
|
||||||
return HelpersL5r5e.createItemFromCompendium(data);
|
return HelpersL5r5e.createItemFromCompendium(data);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user