aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/zeitheron
diff options
context:
space:
mode:
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();