* Fix the "selecting the '...' slot" bug

This commit is contained in:
iProgramInCpp
2023-11-04 00:11:40 +02:00
parent 3e8650761b
commit 5bba109b68
3 changed files with 8 additions and 2 deletions

View File

@@ -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;