Fix remaining errors in v1.11

This commit is contained in:
Kirsty McNaught
2017-06-04 10:56:20 +01:00
parent 2df8bf3582
commit 574142ca84
5 changed files with 14 additions and 13 deletions
@@ -61,8 +61,8 @@ public class InputUtil {
// Constants from Minecraft Source Code
x -= (guiContainer.width - 176) / 2;
y -= (guiContainer.height - 166) / 2;
return x >= slot.xDisplayPosition - 1 && x < slot.xDisplayPosition + 16 + 1
&& y >= slot.yDisplayPosition - 1 && y < slot.yDisplayPosition + 16 + 1;
return x >= slot.xPos - 1 && x < slot.xPos + 16 + 1
&& y >= slot.yPos - 1 && y < slot.yPos + 16 + 1;
} else {
return false;
}