Fix issue with user input check that messed up Auto Eat

This commit is contained in:
Brady 2018-10-11 18:50:55 -05:00
parent ee954d6a4e
commit 130b21f738
No known key found for this signature in database
GPG Key ID: 73A788379A197567

View File

@ -147,7 +147,7 @@ public class MixinMinecraft {
)
)
private boolean isAllowUserInput(GuiScreen screen) {
return (PathingBehavior.INSTANCE.getCurrent() != null && player != null) || screen.allowUserInput;
return (PathingBehavior.INSTANCE.getCurrent() != null && PathingBehavior.INSTANCE.isEnabled() && player != null) || screen.allowUserInput;
}
@Inject(