Remove not used and honestly just bad method in InjectUtil

This commit is contained in:
Lucas
2019-07-07 21:56:57 +02:00
parent 83533475d4
commit b13320aea4

View File

@@ -181,17 +181,4 @@ public class InjectUtil
throw new InjectionException(String.format("Mapped field \"%s\" could not be found.", name)); throw new InjectionException(String.format("Mapped field \"%s\" could not be found.", name));
} }
public static Method findStaticDeob(Inject inject, String name) throws InjectionException
{
for (ClassFile cf : inject.getDeobfuscated().getClasses())
{
if (cf.findMethod(name) != null)
{
return cf.findMethod(name);
}
}
throw new InjectionException("Fycj you");
}
} }