Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MihailRis committed Dec 19, 2024
1 parent 3d6c118 commit 1aca495
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/frontend/hud.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ void Hud::dropExchangeSlot() {
if (stack.isEmpty()) {
return;
}
player->getInventory()->move(stack, indices);
player.getInventory()->move(stack, indices);
if (!stack.isEmpty()) {
logger.warning() << "discard item [" << stack.getItemId() << ":"
<< stack.getCount();
Expand Down

0 comments on commit 1aca495

Please sign in to comment.