From ac5a31b2f8311f43e774c2d1201b46e7681e59f7 Mon Sep 17 00:00:00 2001 From: XiaoMoMi <972454774@qq.com> Date: Mon, 18 Sep 2023 20:00:13 +0800 Subject: [PATCH] update readme --- README.md | 14 +++++++++++++- .../compatibility/IntegrationManagerImpl.java | 10 +++++----- 2 files changed, 18 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index ffbc7a36..ccc108a1 100644 --- a/README.md +++ b/README.md @@ -53,7 +53,7 @@ Afdian: https://afdian.net/@xiaomomi ``` -### Gradle +### Gradle (Groovy) ``` repositories { @@ -64,4 +64,16 @@ repositories { dependencies { compileOnly 'com.github.Xiao-MoMi:Custom-Fishing:{LATEST}' } +``` +### Gradle (Kotlin) + +``` +repositories { + maven("https://jitpack.io/") +} +``` +``` +dependencies { + compileOnly("com.github.Xiao-MoMi:Custom-Fishing:{LATEST}") +} ``` \ No newline at end of file diff --git a/plugin/src/main/java/net/momirealms/customfishing/compatibility/IntegrationManagerImpl.java b/plugin/src/main/java/net/momirealms/customfishing/compatibility/IntegrationManagerImpl.java index d49b844e..6f8c34be 100644 --- a/plugin/src/main/java/net/momirealms/customfishing/compatibility/IntegrationManagerImpl.java +++ b/plugin/src/main/java/net/momirealms/customfishing/compatibility/IntegrationManagerImpl.java @@ -151,11 +151,11 @@ public class IntegrationManagerImpl implements IntegrationManager { hookMessage("BetonQuest"); } } - if (plugin.isHookedPluginEnabled("NotQuests")) { - NotQuestHook notQuestHook = new NotQuestHook(); - notQuestHook.register(); - hookMessage("NotQuests"); - } +// if (plugin.isHookedPluginEnabled("NotQuests")) { +// NotQuestHook notQuestHook = new NotQuestHook(); +// notQuestHook.register(); +// hookMessage("NotQuests"); +// } } @Override