This commit is contained in:
MihailRis 2024-12-19 23:01:16 +03:00
parent 3d6c1183c4
commit 1aca4957a4

View File

@ -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();