diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2024-03-28 04:46:07 +1100 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2024-03-28 04:46:07 +1100 |
commit | 0f9a200e6b64ad49a80c860eee5624b48acea6f1 (patch) | |
tree | c08998cb464ed9320c469034269b497686a300d3 /source/frontend/StarInventory.cpp | |
parent | d76d217901d1afaa6a2b8703d7187d83ff41fe5f (diff) |
fix: crafting interfaces not working with new middle-click opening
Diffstat (limited to 'source/frontend/StarInventory.cpp')
-rw-r--r-- | source/frontend/StarInventory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/frontend/StarInventory.cpp b/source/frontend/StarInventory.cpp index 650d2e3..71d2081 100644 --- a/source/frontend/StarInventory.cpp +++ b/source/frontend/StarInventory.cpp @@ -110,7 +110,7 @@ InventoryPane::InventoryPane(MainInterface* parent, PlayerPtr player, ContainerI auto actionData = sourceItem->instanceValue("interactData", Json()); if (actionData.isType(Json::Type::Object)) actionData = actionData.set("openWithInventory", false); - InteractAction action(actionType, m_player->entityId(), actionData); + InteractAction action(actionType, NullEntityId, actionData); m_player->interact(action); } } |