aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/zeitheron
diff options
context:
space:
mode:
authorDanielshe <shekwancheung0528@gmail.com>2019-09-28 20:30:42 +0800
committerDanielshe <shekwancheung0528@gmail.com>2019-09-29 13:16:21 +0800
commit897ee7224087ed4c6526ad0ceef6227ec8ace3dd (patch)
tree97e3959ad049ce538cdd4bf6b56b3f7f5cb5d3b6 /src/main/java/com/zeitheron
parent35421aed0f5d3350a0486d29018f2e3a0c4a77f6 (diff)
downloadRoughlyEnoughItems-897ee7224087ed4c6526ad0ceef6227ec8ace3dd.tar.gz
RoughlyEnoughItems-897ee7224087ed4c6526ad0ceef6227ec8ace3dd.tar.bz2
RoughlyEnoughItems-897ee7224087ed4c6526ad0ceef6227ec8ace3dd.zip
Unstable REI Release for 19w38a/b
Diffstat (limited to 'src/main/java/com/zeitheron')
-rw-r--r--src/main/java/com/zeitheron/hammercore/client/utils/Scissors.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/zeitheron/hammercore/client/utils/Scissors.java b/src/main/java/com/zeitheron/hammercore/client/utils/Scissors.java
index fb1334989..b0e1fdcc1 100644
--- a/src/main/java/com/zeitheron/hammercore/client/utils/Scissors.java
+++ b/src/main/java/com/zeitheron/hammercore/client/utils/Scissors.java
@@ -27,7 +27,7 @@ public class Scissors {
* @param height the height of the bounds
*/
public static void scissor(int x, int y, int width, int height) {
- Window window = MinecraftClient.getInstance().window;
+ Window window = MinecraftClient.getInstance().method_22683();
int sw = window.getWidth();
int sh = window.getHeight();