Obfuscation and reflection do not mix.

This commit is contained in:
CrazyPants committed 2014-02-17 02:45:38 +08:00
1 parent 302453e113
commit 35a616bc52
1 file changed
+1 -1
@@ -138,7 +138,7 @@ public class MeProxy {
@Override
public Object intercept(Object o, Method method, Object[] objects, MethodProxy methodProxy) throws Throwable {
if("canInteractWith".equals(method.getName())) {
if("func_75145_c".equals(method.getName()) || "canInteractWith".equals(method.getName())) {
return true;
}
return methodProxy.invokeSuper(o, objects);