mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-19 03:49:14 +00:00
inserted hook into Minecraft.java
This commit is contained in:
1 parent
e3e3ea54f9
commit
ad09526bee
1 file changed
+9
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user