From 5d622610826b8217d7ecc5d5b3cc19882ba26ff3 Mon Sep 17 00:00:00 2001 From: bl4ckscor3 Date: Wed, 13 Nov 2019 00:12:25 +0100 Subject: [PATCH] Fix RawMouseEvent not being cancelable (#6310) --- src/main/java/net/minecraftforge/client/event/InputEvent.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/net/minecraftforge/client/event/InputEvent.java b/src/main/java/net/minecraftforge/client/event/InputEvent.java index 41e1da514..ffc84e14d 100644 --- a/src/main/java/net/minecraftforge/client/event/InputEvent.java +++ b/src/main/java/net/minecraftforge/client/event/InputEvent.java @@ -30,6 +30,7 @@ public class InputEvent extends Event /** * A cancellable mouse event fired before key bindings are updated */ + @Cancelable public static class RawMouseEvent extends InputEvent { private final int button;