Merge pull request #2201 from abel1502/abel-hotfix-2025-06

Hotfix my big PR
This commit is contained in:
HbmMods 2025-06-10 08:19:44 +02:00 committed by GitHub
commit cb8c95278c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -215,11 +215,11 @@ public class GUIScreenTemplateFolder extends GuiScreen {
if(Mouse.getEventButton() == -1) {
int scroll = Mouse.getEventDWheel();
if(scroll < 0) {
if(scroll > 0) {
if(currentPage > 0)
currentPage--;
updateButtons();
} else if(scroll > 0) {
} else if(scroll < 0) {
if(currentPage < getPageCount())
currentPage++;
updateButtons();