mirror of
https://github.com/celisej567/mcpe.git
synced 2026-09-17 20:10:23 +03:00
* Fix the "selecting the '...' slot" bug
This commit is contained in:
@@ -536,6 +536,11 @@ int Gui::getNumSlots()
|
||||
return 9;
|
||||
}
|
||||
|
||||
int Gui::getNumUsableSlots()
|
||||
{
|
||||
return getNumSlots() - m_pMinecraft->isTouchscreen();
|
||||
}
|
||||
|
||||
RectangleArea Gui::getRectangleArea(bool b)
|
||||
{
|
||||
float centerX = Minecraft::width / 2;
|
||||
|
||||
Reference in New Issue
Block a user