CoreMods
CoreMods copied to clipboard
No way to check type of LDC?
There currently doesn't seem to be a way to check the type of a LDC, since using cst.getClass().getName() is not allowed. In the debug environment I was able to get around this by doing instruction.cst.getClass() == "class java.lang.X, but when running normally the check simply fails without any error. Is there any workaround to this?