fix midclick acting badly when guis are opened

This commit is contained in:
Daniella / Tove 2024-10-05 01:10:01 +02:00
parent f065209f3a
commit 4f1dfbdb1a
Signed by: TudbuT
GPG key ID: B3CF345217F202D3

View file

@ -102,7 +102,7 @@ public class MidClick extends Feature {
boolean down = false;
private void doCheck() {
if(Mouse.isButtonDown(2)) {
if(Mouse.isButtonDown(2) && mc.currentScreen == null) {
if(down)
return;
down = true;