This commit is contained in:
MihailRis
2024-12-19 23:01:16 +03:00
parent 3d6c1183c4
commit 1aca4957a4
+1 -1
View File
@@ -508,7 +508,7 @@ void Hud::dropExchangeSlot() {
if (stack.isEmpty()) { if (stack.isEmpty()) {
return; return;
} }
player->getInventory()->move(stack, indices); player.getInventory()->move(stack, indices);
if (!stack.isEmpty()) { if (!stack.isEmpty()) {
logger.warning() << "discard item [" << stack.getItemId() << ":" logger.warning() << "discard item [" << stack.getItemId() << ":"
<< stack.getCount(); << stack.getCount();