From fd9d3844de4d39b797b75c47ad79b81e8b0e244a Mon Sep 17 00:00:00 2001 From: Project_IO Date: Mon, 2 Sep 2024 00:13:58 +0900 Subject: [PATCH] fix: manifest default class path fixed --- build.gradle.kts | 2 +- src/main/java/net/projecttl/p/x32/Px32.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index eee73b6..ee1cde0 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -60,7 +60,7 @@ tasks { archiveVersion.set("") manifest { - attributes["Main-Class"] = "net.projecttl.p.x32.Run" + attributes["Main-Class"] = "net.projecttl.p.x32.Px32" } } } diff --git a/src/main/java/net/projecttl/p/x32/Px32.java b/src/main/java/net/projecttl/p/x32/Px32.java index 9671229..c09a8e6 100644 --- a/src/main/java/net/projecttl/p/x32/Px32.java +++ b/src/main/java/net/projecttl/p/x32/Px32.java @@ -19,7 +19,7 @@ public class Px32 { private void register() { commands.forEach(command -> { jda.upsertCommand(command.getData()).queue(); - log.info("Registered command: {}", command); + log.info("Registered command: {}", command.getData().getName()); }); }