From ad09526bee27ebdbb44391668ca567839978b9c6 Mon Sep 17 00:00:00 2001 From: MachineMuse Date: Wed, 4 Sep 2013 15:05:29 -0600 Subject: [PATCH] inserted hook into Minecraft.java --- .../minecraft/net/minecraft/client/Minecraft.java.patch | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/patches/minecraft/net/minecraft/client/Minecraft.java.patch b/patches/minecraft/net/minecraft/client/Minecraft.java.patch index 40114cc97..640810c51 100644 --- a/patches/minecraft/net/minecraft/client/Minecraft.java.patch +++ b/patches/minecraft/net/minecraft/client/Minecraft.java.patch @@ -62,6 +62,15 @@ { this.entityRenderer.itemRenderer.resetEquippedProgress2(); } +@@ -1575,7 +1585,7 @@ + while (Mouse.next()) + { + i = Mouse.getEventButton(); +- ++ if (!ForgeHooksClient.postMouseEvent()) continue; + if (field_142025_a && i == 0 && (Keyboard.isKeyDown(29) || Keyboard.isKeyDown(157))) + { + i = 1; @@ -2046,6 +2056,11 @@ { this.statFileWriter.syncStats();