From 8bd6379bcdea064a90654fc28bae62576f9a93b3 Mon Sep 17 00:00:00 2001
From: ChomeNS <95471003+ChomeNS@users.noreply.github.com>
Date: Sun, 23 Apr 2023 07:31:30 +0700
Subject: [PATCH] put the setter back
---
.idea/workspace.xml | 55 ++++++++-----------
.../chayapak/chomens_bot/Configuration.java | 5 +-
2 files changed, 26 insertions(+), 34 deletions(-)
diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index b5d027f..f03e89c 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -4,16 +4,7 @@
-
-
-
-
-
-
-
-
-
-
+
@@ -50,19 +41,19 @@
- {
- "keyToString": {
- "RunOnceActivity.OpenProjectViewOnStart": "true",
- "RunOnceActivity.ShowReadmeOnStart": "true",
- "git-widget-placeholder": "master",
- "jdk.selected.JAVA_MODULE": "17",
- "last_opened_file_path": "/home/chayapak1/IdeaProjects/chomens-bot-java",
- "project.structure.last.edited": "Modules",
- "project.structure.proportion": "0.0",
- "project.structure.side.proportion": "0.0",
- "settings.editor.selected.configurable": "preferences.keymap"
+
+}]]>
@@ -104,13 +95,6 @@
1680245437032
-
- 1681457880562
-
-
-
- 1681457880562
-
1681461700243
@@ -447,7 +431,14 @@
1682170080224
-
+
+ 1682209455255
+
+
+
+ 1682209455256
+
+
@@ -462,7 +453,6 @@
-
@@ -487,7 +477,8 @@
-
+
+
diff --git a/src/main/java/land/chipmunk/chayapak/chomens_bot/Configuration.java b/src/main/java/land/chipmunk/chayapak/chomens_bot/Configuration.java
index 4e09511..7cd6146 100644
--- a/src/main/java/land/chipmunk/chayapak/chomens_bot/Configuration.java
+++ b/src/main/java/land/chipmunk/chayapak/chomens_bot/Configuration.java
@@ -1,6 +1,7 @@
package land.chipmunk.chayapak.chomens_bot;
import lombok.Getter;
+import lombok.Setter;
import java.util.ArrayList;
import java.util.HashMap;
@@ -79,8 +80,8 @@ public class Configuration {
@Getter public String username;
@Getter public boolean kaboom = false;
@Getter public String serverName;
- @Getter public boolean useCore = true;
- @Getter public boolean useChat = false;
+ @Getter @Setter public boolean useCore = true;
+ @Getter @Setter public boolean useChat = false;
@Getter public boolean hasEssentials = true;
}
}