Add log line when modifying background darkness constant

This commit is contained in:
tterrag1098
2017-05-24 15:43:17 -04:00
parent 1ebe98a50f
commit 386a590e55

View File

@@ -45,6 +45,7 @@ public class BlurBGTransformer implements IClassTransformer {
// } // }
if (next.getOpcode() == Opcodes.LDC) { if (next.getOpcode() == Opcodes.LDC) {
// TODO make this configurable? // TODO make this configurable?
System.out.println("Modifying GUI background darkness... ");
((LdcInsnNode)next).cst = ((LdcInsnNode)next.getNext()).cst = 0x66000000; ((LdcInsnNode)next).cst = ((LdcInsnNode)next.getNext()).cst = 0x66000000;
break; break;
} }