aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/Danker/handlers
diff options
context:
space:
mode:
authorbowser0000 <bowser0000@gmail.com>2021-06-15 20:34:51 -0400
committerbowser0000 <bowser0000@gmail.com>2021-06-15 20:34:51 -0400
commitd52c64ca20fa8df90f0e4496a954328335803725 (patch)
tree2ad18f03a70aa839cb1251419be1739010a7d311 /src/main/java/me/Danker/handlers
parent848579b82d0d8edcde3e8e391a86a926a85b5a82 (diff)
downloadSkyblockMod-d52c64ca20fa8df90f0e4496a954328335803725.tar.gz
SkyblockMod-d52c64ca20fa8df90f0e4496a954328335803725.tar.bz2
SkyblockMod-d52c64ca20fa8df90f0e4496a954328335803725.zip
Add support for percentage skill bar
Diffstat (limited to 'src/main/java/me/Danker/handlers')
-rw-r--r--src/main/java/me/Danker/handlers/ConfigHandler.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/main/java/me/Danker/handlers/ConfigHandler.java b/src/main/java/me/Danker/handlers/ConfigHandler.java
index 250c1f2..c289dac 100644
--- a/src/main/java/me/Danker/handlers/ConfigHandler.java
+++ b/src/main/java/me/Danker/handlers/ConfigHandler.java
@@ -484,6 +484,16 @@ public class ConfigHandler {
ScaleCommand.teammatesInRadiusScale = initDouble("scales", "teammatesInRadiusScale", 1);
ScaleCommand.giantHPScale = initDouble("scales", "giantHPScale", 1);
+ // Skills
+ DankersSkyblockMod.farmingLevel = initInt("skills", "farming", -1);
+ DankersSkyblockMod.miningLevel = initInt("skills", "mining", -1);
+ DankersSkyblockMod.combatLevel = initInt("skills", "combat", -1);
+ DankersSkyblockMod.foragingLevel = initInt("skills", "foraging", -1);
+ DankersSkyblockMod.fishingLevel = initInt("skills", "fishing", -1);
+ DankersSkyblockMod.enchantingLevel = initInt("skills", "enchanting", -1);
+ DankersSkyblockMod.alchemyLevel = initInt("skills", "alchemy", -1);
+ DankersSkyblockMod.carpentryLevel = initInt("skills", "carpentry", -1);
+
// Colours
DankersSkyblockMod.MAIN_COLOUR = initString("colors", "main", EnumChatFormatting.GREEN.toString());
DankersSkyblockMod.SECONDARY_COLOUR = initString("colors", "secondary", EnumChatFormatting.DARK_GREEN.toString());