From 35f2f724cb53331973e2aa8ea0bd830c53391825 Mon Sep 17 00:00:00 2001 From: dm94 Date: Tue, 1 Oct 2024 14:43:46 +0200 Subject: [PATCH] feat: Added a default profile in the config --- .../deeme/behaviours/profilechanger/ProfileChangerConfig.java | 2 +- .../deeme/behaviours/urgentdetector/UrgentDetectorConfig.java | 2 +- src/main/java/com/deeme/types/config/Profile.java | 2 +- src/main/resources/plugin.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/deeme/behaviours/profilechanger/ProfileChangerConfig.java b/src/main/java/com/deeme/behaviours/profilechanger/ProfileChangerConfig.java index c21e9c6f..68ea2983 100644 --- a/src/main/java/com/deeme/behaviours/profilechanger/ProfileChangerConfig.java +++ b/src/main/java/com/deeme/behaviours/profilechanger/ProfileChangerConfig.java @@ -17,7 +17,7 @@ public class ProfileChangerConfig { @Option("general.bot_profile") @Dropdown(options = ProfileNames.class) - public String BOT_PROFILE = ""; + public String BOT_PROFILE = "config"; @Option("profile_changer.close_bot") public boolean closeBot = false; diff --git a/src/main/java/com/deeme/behaviours/urgentdetector/UrgentDetectorConfig.java b/src/main/java/com/deeme/behaviours/urgentdetector/UrgentDetectorConfig.java index a05f5829..38789ebf 100644 --- a/src/main/java/com/deeme/behaviours/urgentdetector/UrgentDetectorConfig.java +++ b/src/main/java/com/deeme/behaviours/urgentdetector/UrgentDetectorConfig.java @@ -17,5 +17,5 @@ public class UrgentDetectorConfig { @Option("urgent_detector.bot_profile") @Dropdown(options = ProfileNames.class) - public String botProfile = ""; + public String botProfile = "config"; } diff --git a/src/main/java/com/deeme/types/config/Profile.java b/src/main/java/com/deeme/types/config/Profile.java index c8f5cec2..832a4e03 100644 --- a/src/main/java/com/deeme/types/config/Profile.java +++ b/src/main/java/com/deeme/types/config/Profile.java @@ -15,5 +15,5 @@ public class Profile { @Option("general.bot_profile") @Dropdown(options = ProfileNames.class) - public String BOT_PROFILE = ""; + public String BOT_PROFILE = "config"; } \ No newline at end of file diff --git a/src/main/resources/plugin.json b/src/main/resources/plugin.json index e3813534..ea706a5d 100644 --- a/src/main/resources/plugin.json +++ b/src/main/resources/plugin.json @@ -1,7 +1,7 @@ { "name": "DmPlugin", "author": "Dm94Dani", - "version": "2.3.2", + "version": "2.3.3 beta 1", "minVersion": "1.131", "supportedVersion": "1.131.2", "basePackage": "com.deeme",