From 5c0217d3164aa5946765445f0b331ad827fb7a1b Mon Sep 17 00:00:00 2001 From: Vincent Lee Date: Sun, 13 Jul 2014 13:33:31 -0500 Subject: [PATCH] Fix chat opacity Add // FORGE comment As per convention, add // FORGE comment to clarify the purpose of the change --- .../net/minecraft/client/gui/GuiNewChat.java.patch | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 patches/minecraft/net/minecraft/client/gui/GuiNewChat.java.patch diff --git a/patches/minecraft/net/minecraft/client/gui/GuiNewChat.java.patch b/patches/minecraft/net/minecraft/client/gui/GuiNewChat.java.patch new file mode 100644 index 0000000000..25cd758daf --- /dev/null +++ b/patches/minecraft/net/minecraft/client/gui/GuiNewChat.java.patch @@ -0,0 +1,10 @@ +--- ../src-base/minecraft/net/minecraft/client/gui/GuiNewChat.java ++++ ../src-work/minecraft/net/minecraft/client/gui/GuiNewChat.java +@@ -99,6 +99,7 @@ + byte b0 = 0; + int j2 = -j1 * 9; + func_73734_a(b0, j2 - 9, b0 + i1 + 4, j2, i2 / 2 << 24); ++ GL11.glEnable(GL11.GL_BLEND); // FORGE: BugFix MC-36812 Chat Opacity Broken in 1.7.x + String s = chatline.func_151461_a().func_150254_d(); + this.field_146247_f.field_71466_p.func_78261_a(s, b0, j2 - 8, 16777215 + (i2 << 24)); + GL11.glDisable(GL11.GL_ALPHA_TEST);