mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-11 14:01:49 +00:00
fix
This commit is contained in:
parent
3d6c1183c4
commit
1aca4957a4
1 changed files with 1 additions and 1 deletions
|
|
@ -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();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue