Skip to content

Commit

Permalink
Add feather client support
Browse files Browse the repository at this point in the history
  • Loading branch information
JustRed23 committed May 20, 2024
1 parent 07930c7 commit b89b46a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ jar{
manifest{
attributes 'Main-Class': mainClass
attributes 'Launcher-Agent-Class': mainClass
attributes 'Premain-Class': mainClass
attributes 'Automatic-Module-Name': 'org.kettingpowered.kettinglauncher'
attributes([
"Specification-Title": "Kettingpowered",
Expand Down
5 changes: 5 additions & 0 deletions src/main/java/org/kettingpowered/launcher/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@ public class Main {
static Instrumentation INST;
static Libraries libs = new Libraries();

@SuppressWarnings("unused")
public static void premain(String agentArgs, Instrumentation inst) throws Exception {
agentmain(agentArgs, inst);
}

@SuppressWarnings("unused")
public static void agentmain(String agentArgs, Instrumentation inst) throws Exception {
Logger.log(LogLevel.DEBUG, "[Agent] premain lib load start");
Expand Down

0 comments on commit b89b46a

Please sign in to comment.