mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-12 16:27:47 +00:00
Fix a wrong RenderState name MC-167447 (#6501)
This commit is contained in:
1 parent
743fc70a7f
commit
63cb030cba
1 file changed
+11
@@ -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());
|
||||
Reference in new issue
Block a user