diff --git a/injector-plugin/src/main/java/net/runelite/injector/InjectUtil.java b/injector-plugin/src/main/java/net/runelite/injector/InjectUtil.java index 27b60ce344..1f0275110c 100644 --- a/injector-plugin/src/main/java/net/runelite/injector/InjectUtil.java +++ b/injector-plugin/src/main/java/net/runelite/injector/InjectUtil.java @@ -181,17 +181,4 @@ public class InjectUtil 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"); - } }