Files
Minecraft1.12SRC/conf/patches/minecraft_ff/net.minecraft.client.renderer.vertex.VertexFormat.java.patch
2020-07-20 00:21:55 +08:00

12 lines
671 B
Diff

diff -r -U 3 minecraft\net\minecraft\client\renderer\vertex\VertexFormat.java minecraft_patched\net\minecraft\client\renderer\vertex\VertexFormat.java
--- minecraft\net\minecraft\client\renderer\vertex\VertexFormat.java
+++ minecraft_patched\net\minecraft\client\renderer\vertex\VertexFormat.java
@@ -41,6 +41,7 @@
this.field_177353_d = 0;
}
+ @SuppressWarnings("incomplete-switch")
public VertexFormat func_181721_a(VertexFormatElement p_181721_1_) {
if (p_181721_1_.func_177374_g() && this.func_177341_i()) {
field_177357_a.warn("VertexFormat error: Trying to add a position VertexFormatElement when one already exists, ignoring.");