From 63cb030cba5bc79f894eebde37a884038e7e7200 Mon Sep 17 00:00:00 2001 From: Rigner Date: Fri, 14 Feb 2020 21:12:52 +0100 Subject: [PATCH] Fix a wrong RenderState name MC-167447 (#6501) --- .../minecraft/client/renderer/RenderState.java.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 patches/minecraft/net/minecraft/client/renderer/RenderState.java.patch diff --git a/patches/minecraft/net/minecraft/client/renderer/RenderState.java.patch b/patches/minecraft/net/minecraft/client/renderer/RenderState.java.patch new file mode 100644 index 000000000..731cfa3d6 --- /dev/null +++ b/patches/minecraft/net/minecraft/client/renderer/RenderState.java.patch @@ -0,0 +1,11 @@ +--- a/net/minecraft/client/renderer/RenderState.java ++++ b/net/minecraft/client/renderer/RenderState.java +@@ -360,7 +360,7 @@ + private final OptionalDouble field_228587_Q_; + + public LineState(OptionalDouble p_i225982_1_) { +- super("alpha", () -> { ++ super("line_width", () -> { // FORGE: fix MC-167447 + if (!Objects.equals(p_i225982_1_, OptionalDouble.of(1.0D))) { + if (p_i225982_1_.isPresent()) { + RenderSystem.lineWidth((float)p_i225982_1_.getAsDouble());