diff --git a/src/API/private-api.js b/src/API/private-api.js index 50b49f34..6dc9c0ba 100644 --- a/src/API/private-api.js +++ b/src/API/private-api.js @@ -1106,7 +1106,7 @@ export default class PrivateAPI { } else if (!actor) { const defaultItemPileId = Helpers.getSetting(SETTINGS.DEFAULT_ITEM_PILE_ACTOR_ID); - let pileActor = game.actors.get(defaultItemPileId); + pileActor = game.actors.get(defaultItemPileId); if (!pileActor) {