mirror of
https://github.com/celisej567/mcpe.git
synced 2026-09-23 20:09:46 +03:00
* Add Player::drop
This commit is contained in:
@@ -381,6 +381,13 @@ void Minecraft::tickInput()
|
||||
m_pLevelRenderer->allChanged();
|
||||
}
|
||||
#endif
|
||||
#ifdef TEST_DROPPED_ITEMS
|
||||
else if (keyCode == AKEYCODE_Q)
|
||||
{
|
||||
ItemInstance inst(m_pLocalPlayer->m_pInventory->getSelectedItemId(), 1, 0);
|
||||
m_pLocalPlayer->drop(&inst);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
if (m_options.field_19)
|
||||
|
||||
Reference in New Issue
Block a user