diff --git a/README.md b/README.md index 94cbc3e..28ae49d 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,7 @@ ## Building ``` java -cp org.aspectj.tools.ajc.Main -sourceroots 'src/' -injars lib/fs-isolated-client-*.jar -outjar bin/uploadPlugin.jar -outxml -9 -Xlintfile .vscode/ajc.properties", ``` +(Should give a few warnings but no errors) ## What the hell? AspectJ is a bytecode manipulation framework. In our case the method `Plugins.getPlugins(ServerConnection, Class, BaseContext)` from `de.espirit.firstspirit.client.plugin.Plugins` gets overriden to load the plugins registered in `com.kallendorf.fshook.CustomLoader.pluginsToLoad` in addition to the default ones.