Modify src debuginfo to make stacktraces less cryptical
This commit is contained in:
@@ -23,6 +23,8 @@ import com.openosrs.injector.injectors.raw.RasterizerAlpha;
|
||||
import com.openosrs.injector.injectors.raw.RenderDraw;
|
||||
import com.openosrs.injector.injectors.raw.ScriptVM;
|
||||
import com.openosrs.injector.rsapi.RSApi;
|
||||
import com.openosrs.injector.transformers.InjectTransformer;
|
||||
import com.openosrs.injector.transformers.SourceChanger;
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
import net.runelite.deob.util.JarUtil;
|
||||
@@ -78,6 +80,8 @@ public class Injection extends InjectData implements InjectTaskHandler
|
||||
inject(new HidePlayerAttacks(this));
|
||||
|
||||
validate(new InjectorValidator(this));
|
||||
|
||||
transform(new SourceChanger(this));
|
||||
}
|
||||
|
||||
public void save(File outputJar) throws IOException
|
||||
@@ -113,6 +117,17 @@ public class Injection extends InjectData implements InjectTaskHandler
|
||||
}
|
||||
}
|
||||
|
||||
private void transform(InjectTransformer transformer)
|
||||
{
|
||||
final String name = transformer.getName();
|
||||
|
||||
log.info("Starting {}", name);
|
||||
|
||||
transformer.transform();
|
||||
|
||||
log.lifecycle("{} {}", name, transformer.getCompletionMsg());
|
||||
}
|
||||
|
||||
public void runChildInjector(Injector injector) throws Injexception
|
||||
{
|
||||
inject(injector);
|
||||
|
||||
Reference in New Issue
Block a user