Fix a wrong RenderState name MC-167447 (#6501)
This commit is contained in:
parent
743fc70a7f
commit
63cb030cba
1 changed files with 11 additions and 0 deletions
|
@ -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());
|
Loading…
Reference in a new issue