fix
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user