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 @@ - @@ -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; } }