aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCuzImClicks <bruno778.whiteelfie@gmail.com>2021-03-16 20:02:01 +0100
committerCuzImClicks <bruno778.whiteelfie@gmail.com>2021-03-16 20:02:01 +0100
commit4effca575301c7be5a964b4869531c46cb273a4e (patch)
tree1b15f0c867da81274d085b9fb37f40d0009dc428
parentdea4afb7d308ac5b63ec54bddb44ef0fe128253e (diff)
downloadSkyblockMod-4effca575301c7be5a964b4869531c46cb273a4e.tar.gz
SkyblockMod-4effca575301c7be5a964b4869531c46cb273a4e.tar.bz2
SkyblockMod-4effca575301c7be5a964b4869531c46cb273a4e.zip
added colours to the config
-rw-r--r--src/main/java/me/Danker/features/ArachneESP.java2
-rw-r--r--src/main/java/me/Danker/features/SlayerESP.java2
-rw-r--r--src/main/java/me/Danker/handlers/ConfigHandler.java2
3 files changed, 4 insertions, 2 deletions
diff --git a/src/main/java/me/Danker/features/ArachneESP.java b/src/main/java/me/Danker/features/ArachneESP.java
index d31a0bd..1a9b0b2 100644
--- a/src/main/java/me/Danker/features/ArachneESP.java
+++ b/src/main/java/me/Danker/features/ArachneESP.java
@@ -34,7 +34,7 @@ public class ArachneESP {
static Entity arachne = null;
static boolean arachneActive = true;
- public static final int ARACHANE_COLOUR = 0x00FF00;
+ public static int ARACHANE_COLOUR;
@SubscribeEvent
diff --git a/src/main/java/me/Danker/features/SlayerESP.java b/src/main/java/me/Danker/features/SlayerESP.java
index 5f1783c..17a1c0e 100644
--- a/src/main/java/me/Danker/features/SlayerESP.java
+++ b/src/main/java/me/Danker/features/SlayerESP.java
@@ -29,7 +29,7 @@ public class SlayerESP {
static Entity wolf = null;
static boolean slayerActive = false;
static boolean slayerStarted = false;
- public static final int SLAYER_COLOUR = 0x0000FF;
+ public static int SLAYER_COLOUR;
@SubscribeEvent
public void onWorldChange(WorldEvent.Load event) {
diff --git a/src/main/java/me/Danker/handlers/ConfigHandler.java b/src/main/java/me/Danker/handlers/ConfigHandler.java
index dc43dca..aa35ded 100644
--- a/src/main/java/me/Danker/handlers/ConfigHandler.java
+++ b/src/main/java/me/Danker/handlers/ConfigHandler.java
@@ -508,6 +508,8 @@ public class ConfigHandler {
BonzoMaskTimer.BONZO_COLOR = initString("colors", "bonzoDisplay", EnumChatFormatting.RED.toString());
BlazeSolver.LOWEST_BLAZE_COLOUR = initInt("colors", "blazeLowest", 0xFF0000);
BlazeSolver.HIGHEST_BLAZE_COLOUR = initInt("colors", "blazeHighest", 0x40FF40);
+ SlayerESP.SLAYER_COLOUR = initInt("colors", "slayerColor", 0x0000FF);
+ ArachneESP.ARACHANE_COLOUR = initInt("colors", "arachneColor", 0x00FF00);
PetColours.PET_1_TO_9 = initInt("colors", "pet1To9", 0x999999); // Grey
PetColours.PET_10_TO_19 = initInt("colors", "pet10To19", 0xD62440); // Red
PetColours.PET_20_TO_29 = initInt("colors", "pet20To29", 0xEF5230); // Orange