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

21 lines
1.2 KiB
Diff

diff -r -U 3 minecraft\net\minecraft\client\gui\GuiOverlayDebug.java minecraft_patched\net\minecraft\client\gui\GuiOverlayDebug.java
--- minecraft\net\minecraft\client\gui\GuiOverlayDebug.java
+++ minecraft_patched\net\minecraft\client\gui\GuiOverlayDebug.java
@@ -85,6 +85,7 @@
}
+ @SuppressWarnings("incomplete-switch")
protected List<String> call() {
BlockPos blockpos = new BlockPos(this.field_175242_a.func_175606_aa().field_70165_t, this.field_175242_a.func_175606_aa().func_174813_aQ().field_72338_b, this.field_175242_a.func_175606_aa().field_70161_v);
if (this.field_175242_a.func_189648_am()) {
@@ -168,7 +169,7 @@
for(UnmodifiableIterator unmodifiableiterator = iblockstate.func_177228_b().entrySet().iterator(); unmodifiableiterator.hasNext(); list.add(iproperty.func_177701_a() + ": " + s)) {
Entry<IProperty<?>, Comparable<?>> entry = (Entry)unmodifiableiterator.next();
iproperty = (IProperty)entry.getKey();
- T t = entry.getValue();
+ T t = (T)entry.getValue();
s = iproperty.func_177702_a(t);
if (Boolean.TRUE.equals(t)) {
s = TextFormatting.GREEN + s;