fix midclick acting badly when guis are opened
This commit is contained in:
parent
f065209f3a
commit
4f1dfbdb1a
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ public class MidClick extends Feature {
|
||||||
|
|
||||||
boolean down = false;
|
boolean down = false;
|
||||||
private void doCheck() {
|
private void doCheck() {
|
||||||
if(Mouse.isButtonDown(2)) {
|
if(Mouse.isButtonDown(2) && mc.currentScreen == null) {
|
||||||
if(down)
|
if(down)
|
||||||
return;
|
return;
|
||||||
down = true;
|
down = true;
|
||||||
|
|
Loading…
Add table
Reference in a new issue