mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-21 12:42:26 +00:00
Fix multi-layer model not declaring dependency on the particle texture.
Fix mistake in 2c054fca which I didn't intend to push when I did.
21 lines
816 B
Diff
21 lines
816 B
Diff
--- a/net/minecraft/client/renderer/LightTexture.java
|
|
+++ b/net/minecraft/client/renderer/LightTexture.java
|
|
@@ -123,6 +123,8 @@
|
|
}
|
|
}
|
|
|
|
+ clientworld.func_201675_m().getLightmapColors(p_205106_1_, f, f4, f5, vector3f1);
|
|
+
|
|
vector3f1.func_195901_a(0.0F, 1.0F);
|
|
if (f2 > 0.0F) {
|
|
float f10 = Math.max(vector3f1.func_195899_a(), Math.max(vector3f1.func_195900_b(), vector3f1.func_195902_c()));
|
|
@@ -169,7 +171,7 @@
|
|
}
|
|
|
|
public static int func_228450_a_(int p_228450_0_) {
|
|
- return p_228450_0_ >> 4 & '\uffff';
|
|
+ return (p_228450_0_ & 0xFFFF) >> 4; // Forge: Fix fullbright quads showing dark artifacts. Reported as MC-169806
|
|
}
|
|
|
|
public static int func_228454_b_(int p_228454_0_) {
|