aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/ConfigUpdaterMigrator.kt1
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/ChatConfig.java9
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/DungeonConfig.java6
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/GardenConfig.java10
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/InventoryConfig.java8
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/MiscConfig.java8
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/SlayerConfig.java6
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/damageindicator/DamageIndicatorManager.kt2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonCleanEnd.kt8
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonCopilot.kt6
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonLevelColor.kt2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/fishing/FishingTimer.kt2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/AnitaMedalProfit.kt2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/FarmingFortuneDisplay.kt2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/GardenLevelDisplay.kt2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/GardenNextJacobContest.kt2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/GardenOptimalSpeed.kt32
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/ToolTooltipTweaks.kt8
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/composter/ComposterDisplay.kt2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/composter/ComposterInventoryNumbers.kt2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/composter/ComposterOverlay.kt2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/composter/GardenComposterInventoryFeatures.kt2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/contest/JacobFarmingContestsInventory.kt12
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/farming/CropMoneyDisplay.kt2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/farming/DicerRngDropCounter.kt2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/farming/FarmingArmorDrops.kt8
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/farming/FarmingWeightDisplay.kt16
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/farming/GardenBestCropTime.kt2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/farming/GardenCropMilestoneDisplay.kt18
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/farming/GardenCropSpeed.kt2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/farming/GardenCustomKeybinds.kt2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/inventory/AnitaExtraFarmingFortune.kt4
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/inventory/GardenCropMilestoneInventory.kt4
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/inventory/GardenInventoryNumbers.kt8
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/inventory/SkyMartCopperPrice.kt2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorDropStatistics.kt2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/inventory/HideNotClickableItems.kt2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/inventory/RngMeterInventory.kt9
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/inventory/StatsTuning.kt10
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/itemabilities/FireVeilWandParticles.kt13
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/minion/MinionFeatures.kt2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/misc/CurrentPetDisplay.kt4
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/misc/ParticleHider.kt6
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/misc/ThunderSparksHighlight.kt2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/misc/items/EstimatedItemValue.kt2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/misc/items/EstimatedWardrobePrice.kt4
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/slayer/blaze/BlazeSlayerClearView.kt2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/slayer/blaze/BlazeSlayerDaggerHelper.kt6
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/slayer/blaze/BlazeSlayerFirePitsWarning.kt2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/slayer/blaze/HellionShieldHelper.kt2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/slayer/enderman/EndermanSlayerFeatures.kt2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/slayer/enderman/EndermanSlayerHideParticles.kt4
-rw-r--r--src/main/java/at/hannibal2/skyhanni/test/SkyHanniDebugsAndTests.kt2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/utils/MinecraftConsoleFilter.kt27
54 files changed, 157 insertions, 152 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/ConfigUpdaterMigrator.kt b/src/main/java/at/hannibal2/skyhanni/config/ConfigUpdaterMigrator.kt
index eff921734..357493f38 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/ConfigUpdaterMigrator.kt
+++ b/src/main/java/at/hannibal2/skyhanni/config/ConfigUpdaterMigrator.kt
@@ -21,7 +21,6 @@ object ConfigUpdaterMigrator {
return obj?.at(chain.drop(1), init)
}
-
data class ConfigFixEvent(
val old: JsonObject,
val new: JsonObject,
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/ChatConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/ChatConfig.java
index e0324c32f..a2f8f78ad 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/features/ChatConfig.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/features/ChatConfig.java
@@ -2,7 +2,10 @@ package at.hannibal2.skyhanni.config.features;
import at.hannibal2.skyhanni.config.FeatureToggle;
import com.google.gson.annotations.Expose;
-import io.github.moulberry.moulconfig.annotations.*;
+import io.github.moulberry.moulconfig.annotations.Accordion;
+import io.github.moulberry.moulconfig.annotations.ConfigEditorBoolean;
+import io.github.moulberry.moulconfig.annotations.ConfigEditorKeybind;
+import io.github.moulberry.moulconfig.annotations.ConfigOption;
import org.lwjgl.input.Keyboard;
public class ChatConfig {
@@ -17,7 +20,7 @@ public class ChatConfig {
@Accordion
public FilterTypesConfig filterType = new FilterTypesConfig();
- public static class FilterTypesConfig{
+ public static class FilterTypesConfig {
@Expose
@ConfigOption(name = "Hypixel Hub", desc = "Block messages outside SkyBlock in the Hypixel lobby: player joins, loot boxes, prototype lobby messages, radiating generosity and Hypixel tournaments.")
@ConfigEditorBoolean
@@ -98,7 +101,7 @@ public class ChatConfig {
@Accordion
public PlayerMessagesConfig playerMessage = new PlayerMessagesConfig();
- public static class PlayerMessagesConfig{
+ public static class PlayerMessagesConfig {
@Expose
@ConfigOption(name = "Player Rank Hider", desc = "Hide player ranks in all chat messages.")
@ConfigEditorBoolean
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/DungeonConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/DungeonConfig.java
index 20b6e0295..db8e723df 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/features/DungeonConfig.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/features/DungeonConfig.java
@@ -37,13 +37,13 @@ public class DungeonConfig {
@ConfigOption(name = "Clean End", desc = "")
@Accordion
public CleanEndConfig cleanEnd = new CleanEndConfig();
- public static class CleanEndConfig{
+ public static class CleanEndConfig {
@Expose
- @ConfigOption(name = "Clean Ending", desc = "After the last Dungeon boss has died, all entities and " +
+ @ConfigOption(name = "Enabled", desc = "After the last Dungeon boss has died, all entities and " +
"particles are no longer displayed and the music stops playing, but the loot chests are still displayed.")
@ConfigEditorBoolean
@FeatureToggle
- public boolean toggle = false;
+ public boolean enabled = false;
@Expose
@ConfigOption(name = "Ignore Guardians", desc = "Ignore F3 and M3 Guardians from the clean end feature when " +
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/GardenConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/GardenConfig.java
index ad1643128..c2f4459a5 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/features/GardenConfig.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/features/GardenConfig.java
@@ -29,7 +29,7 @@ public class GardenConfig {
@ConfigOption(name = "SkyMart", desc = "")
@Accordion
public SkyMartConfig skyMart = new SkyMartConfig();
- public static class SkyMartConfig{
+ public static class SkyMartConfig {
@Expose
@ConfigOption(name = "Copper Price", desc = "Show copper to coin prices inside the SkyMart inventory.")
@ConfigEditorBoolean
@@ -49,12 +49,12 @@ public class GardenConfig {
@ConfigOption(name = "Visitor", desc = "")
@Accordion
public VisitorConfig visitors = new VisitorConfig();
- public static class VisitorConfig{
+ public static class VisitorConfig {
@Expose
@ConfigOption(name = "Visitor Timer", desc = "")
@Accordion
public TimerConfig timer = new TimerConfig();
- public static class TimerConfig{
+ public static class TimerConfig {
@Expose
@ConfigOption(name = "Visitor Timer", desc = "Timer when the next visitor will appear, " +
"and a number for how many visitors are already waiting.")
@@ -82,7 +82,7 @@ public class GardenConfig {
@ConfigOption(name = "Visitor Items Needed", desc = "")
@Accordion
public NeedsConfig needs = new NeedsConfig();
- public static class NeedsConfig{
+ public static class NeedsConfig {
@Expose
@ConfigOption(name = "Items Needed", desc = "Show all items needed for the visitors.")
@ConfigEditorBoolean
@@ -119,7 +119,7 @@ public class GardenConfig {
@ConfigOption(name = "Visitor Inventory", desc = "")
@Accordion
public InventoryConfig inventory = new InventoryConfig();
- public static class InventoryConfig{
+ public static class InventoryConfig {
@Expose
@ConfigOption(name = "Visitor Price", desc = "Show the Bazaar price of the items required for the visitors, like in NEU.")
@ConfigEditorBoolean
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/InventoryConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/InventoryConfig.java
index 971985b74..71e916c0b 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/features/InventoryConfig.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/features/InventoryConfig.java
@@ -22,7 +22,7 @@ public class InventoryConfig {
@Accordion
public HideNotClickableConfig hideNotClickable = new HideNotClickableConfig();
- public static class HideNotClickableConfig{
+ public static class HideNotClickableConfig {
@Expose
@ConfigOption(name = "Enabled", desc = "Hide items that are not clickable in the current inventory: ah, bz, accessory bag, etc.")
@ConfigEditorBoolean
@@ -62,7 +62,7 @@ public class InventoryConfig {
@ConfigOption(name = "RNG Meter", desc = "")
@Accordion
public RngMeterConfig rngMeter = new RngMeterConfig();
- public static class RngMeterConfig{
+ public static class RngMeterConfig {
@Expose
@ConfigOption(name = "Floor Names", desc = "Show the Floor names in the Catacombs RNG Meter inventory.")
@ConfigEditorBoolean
@@ -86,7 +86,7 @@ public class InventoryConfig {
@ConfigOption(name = "Stats Tuning", desc = "")
@Accordion
public StatsTuningConfig statsTuning = new StatsTuningConfig();
- public static class StatsTuningConfig{
+ public static class StatsTuningConfig {
@Expose
@ConfigOption(name = "Selected Stats", desc = "Show the tuning stats in the Thaumaturgy inventory.")
@ConfigEditorBoolean
@@ -116,7 +116,7 @@ public class InventoryConfig {
@ConfigOption(name = "Jacob Farming Contest", desc = "")
@Accordion
public JacobFarmingContestConfig jacobFarmingContests = new JacobFarmingContestConfig();
- public static class JacobFarmingContestConfig{
+ public static class JacobFarmingContestConfig {
@Expose
@ConfigOption(name = "Unclaimed Rewards", desc = "Highlight contests with unclaimed rewards in the Jacob inventory.")
@ConfigEditorBoolean
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/MiscConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/MiscConfig.java
index 33eed59ae..16a9761b0 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/features/MiscConfig.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/features/MiscConfig.java
@@ -25,7 +25,7 @@ public class MiscConfig {
@ConfigOption(name = "Pet", desc = "")
@Accordion
public PetConfig pets = new PetConfig();
- public static class PetConfig{
+ public static class PetConfig {
@Expose
@ConfigOption(name = "Pet Display", desc = "Show the currently active pet.")
@ConfigEditorBoolean
@@ -84,7 +84,7 @@ public class MiscConfig {
@ConfigOption(name = "Potion Effects", desc = "")
@Accordion
public PotionEffectsConfig potionEffect = new PotionEffectsConfig();
- public static class PotionEffectsConfig{
+ public static class PotionEffectsConfig {
@Expose
@ConfigOption(name = "Non God Pot Effects", desc = "Display the active potion effects that are not part of the God Pot.")
@ConfigEditorBoolean
@@ -105,7 +105,7 @@ public class MiscConfig {
@ConfigOption(name = "Particle Hider", desc = "")
@Accordion
public ParticleHiderConfig particleHiders = new ParticleHiderConfig();
- public static class ParticleHiderConfig{
+ public static class ParticleHiderConfig {
@Expose
@ConfigOption(name = "Blaze Particles", desc = "Hide Blaze particles.")
@ConfigEditorBoolean
@@ -153,7 +153,7 @@ public class MiscConfig {
@ConfigOption(name = "Estimated Item Value", desc = "(Prices for Enchantments, Reforge Stones, Gemstones, Drill Parts and more)")
@Accordion
public EstimatedItemValueConfig estimatedItemValues = new EstimatedItemValueConfig();
- public static class EstimatedItemValueConfig{
+ public static class EstimatedItemValueConfig {
@Expose
@ConfigOption(name = "Enable Estimated Price", desc = "Displays an Estimated Item Value for the item you hover over.")
@ConfigEditorBoolean
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/SlayerConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/SlayerConfig.java
index b4fc1800d..e041c965e 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/features/SlayerConfig.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/features/SlayerConfig.java
@@ -16,8 +16,8 @@ public class SlayerConfig {
@Expose
@ConfigOption(name = "Enderman Slayer Features", desc = "")
@Accordion
- public EndermanConfig endermen = new EndermanConfig();
- public static class EndermanConfig{
+ public EndermanConfig endermen = new EndermanConfig();
+ public static class EndermanConfig {
@Expose
@ConfigOption(name = "Yang Glyph (beacon)", desc = "")
@Accordion
@@ -84,7 +84,7 @@ public class SlayerConfig {
@ConfigOption(name = "Blaze", desc = "")
@Accordion
public BlazeConfig blazes = new BlazeConfig();
- public static class BlazeConfig{
+ public static class BlazeConfig {
@Expose
@ConfigOption(name = "Hellion Shields", desc = "")
@Accordion
diff --git a/src/main/java/at/hannibal2/skyhanni/features/damageindicator/DamageIndicatorManager.kt b/src/main/java/at/hannibal2/skyhanni/features/damageindicator/DamageIndicatorManager.kt
index f9f84f9f7..689c3d8c5 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/damageindicator/DamageIndicatorManager.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/damageindicator/DamageIndicatorManager.kt
@@ -854,7 +854,7 @@ class DamageIndicatorManager {
@SubscribeEvent
fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent) {
event.move(2, "damageIndicator", "combat.damageIndicator")
- event.move(3,"slayer.endermanPhaseDisplay", "slayer.endermen.phaseDisplay")
+ event.move(3, "slayer.endermanPhaseDisplay", "slayer.endermen.phaseDisplay")
event.move(3, "slayer.blazePhaseDisplay", "slayer.blazes.phaseDisplay")
}
diff --git a/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonCleanEnd.kt b/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonCleanEnd.kt
index 31e8c611e..d10122334 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonCleanEnd.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonCleanEnd.kt
@@ -28,7 +28,7 @@ class DungeonCleanEnd {
@SubscribeEvent
fun onChatMessage(event: LorenzChatEvent) {
if (!LorenzUtils.inDungeons) return
- if (!config.toggle) return
+ if (!config.enabled) return
val message = event.message
@@ -39,7 +39,7 @@ class DungeonCleanEnd {
private fun shouldBlock(): Boolean {
if (!LorenzUtils.inDungeons) return false
- if (!config.toggle) return false
+ if (!config.enabled) return false
if (!bossDone) return false
@@ -66,7 +66,7 @@ class DungeonCleanEnd {
@SubscribeEvent
fun onEntityHealthUpdate(event: EntityHealthUpdateEvent) {
if (!LorenzUtils.inDungeons) return
- if (!config.toggle) return
+ if (!config.enabled) return
if (bossDone) return
if (lastBossId == -1) return
if (event.entity.entityId != lastBossId) return
@@ -117,7 +117,7 @@ class DungeonCleanEnd {
@SubscribeEvent
fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent) {
- event.move(3, "dungeon.cleanEndToggle", "dungeon.cleanEnd.toggle")
+ event.move(3, "dungeon.cleanEndToggle", "dungeon.cleanEnd.enabled")
event.move(3, "dungeon.cleanEndF3IgnoreGuardians", "dungeon.cleanEnd.F3IgnoreGuardians")
}
diff --git a/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonCopilot.kt b/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonCopilot.kt
index ddfd622a7..834cd8fd6 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonCopilot.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonCopilot.kt
@@ -137,9 +137,9 @@ class DungeonCopilot {
}
@SubscribeEvent
- fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent){
+ fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent) {
event.move(3, "dungeon.messageFilterKeysAndDoors", "dungeon.messageFilter.keysAndDoors")
- event.move(3,"dungeon.copilotEnabled", "dungeon.dungeonCopilot.enabled")
- event.move(3,"dungeon.copilotPos", "dungeon.dungeonCopilot.pos")
+ event.move(3, "dungeon.copilotEnabled", "dungeon.dungeonCopilot.enabled")
+ event.move(3, "dungeon.copilotPos", "dungeon.dungeonCopilot.pos")
}
} \ No newline at end of file
diff --git a/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonLevelColor.kt b/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonLevelColor.kt
index 776a11a14..b15cdabb7 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonLevelColor.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonLevelColor.kt
@@ -37,7 +37,7 @@ class DungeonLevelColor {
}
@SubscribeEvent
- fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent){
+ fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent) {
event.move(3, "dungeon.partyFinderColoredClassLevel", "dungeon.partyFinder.coloredClassLevel")
}
}
diff --git a/src/main/java/at/hannibal2/skyhanni/features/fishing/FishingTimer.kt b/src/main/java/at/hannibal2/skyhanni/features/fishing/FishingTimer.kt
index 1bb7cb1d5..2531b97bc 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/fishing/FishingTimer.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/fishing/FishingTimer.kt
@@ -115,7 +115,7 @@ class FishingTimer {
}
@SubscribeEvent
- fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent){
+ fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent) {
event.move(3, "fishing.barnTimer", "fishing.barnTimer.enabled")
event.move(3, "fishing.barnTimerAlertTime", "fishing.barnTimer.alertTime")
event.move(3, "fishing.barnTimerCrystalHollows", "fishing.barnTimer.crystalHollows")
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/AnitaMedalProfit.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/AnitaMedalProfit.kt
index dca61807d..b0d0013a1 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/garden/AnitaMedalProfit.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/garden/AnitaMedalProfit.kt
@@ -149,7 +149,7 @@ class AnitaMedalProfit {
}
@SubscribeEvent
- fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent){
+ fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent) {
event.move(3,"garden.anitaMedalProfitEnabled", "garden.anitaShop.medalProfitEnabled")
event.move(3,"garden.anitaMedalProfitPos", "garden.anitaShop.medalProfitPos")
}
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/FarmingFortuneDisplay.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/FarmingFortuneDisplay.kt
index 789c0f352..74defe1ad 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/garden/FarmingFortuneDisplay.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/garden/FarmingFortuneDisplay.kt
@@ -284,7 +284,7 @@ class FarmingFortuneDisplay {
}
@SubscribeEvent
- fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent){
+ fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent) {
event.move(3,"garden.farmingFortuneDisplay", "garden.farmingFortunes.display")
event.move(3,"garden.farmingFortuneDropMultiplier", "garden.farmingFortunes.dropMultiplier")
event.move(3,"garden.farmingFortunePos", "garden.farmingFortunes.pos")
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/GardenLevelDisplay.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/GardenLevelDisplay.kt
index c10292032..dfb66bb82 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/garden/GardenLevelDisplay.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/garden/GardenLevelDisplay.kt
@@ -113,7 +113,7 @@ class GardenLevelDisplay {
private fun isEnabled() = GardenAPI.inGarden() && config.display
@SubscribeEvent
- fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent){
+ fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent) {
event.move(3, "garden.gardenLevelDisplay", "garden.gardenLevels.display")
event.move(3, "garden.gardenLevelPos", "garden.gardenLevels.pos")
}
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/GardenNextJacobContest.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/GardenNextJacobContest.kt
index 26dc9e7dd..e1f069cdf 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/garden/GardenNextJacobContest.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/garden/GardenNextJacobContest.kt
@@ -501,7 +501,7 @@ object GardenNextJacobContest {
fun isNextCrop(cropName: CropType) = nextContestCrops.contains(cropName) && config.otherGuis
@SubscribeEvent
- fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent){
+ fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent) {
event.move(3, "garden.nextJacobContestDisplay", "garden.nextJacobContests.display")
event.move(3, "garden.nextJacobContestEverywhere", "garden.nextJacobContests.everywhere")
event.move(3, "garden.nextJacobContestOtherGuis", "garden.nextJacobContests.otherGuis")
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/GardenOptimalSpeed.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/GardenOptimalSpeed.kt
index 7dc971a23..60d54038c 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/garden/GardenOptimalSpeed.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/garden/GardenOptimalSpeed.kt
@@ -111,21 +111,21 @@ class GardenOptimalSpeed {
private fun isEnabled() = GardenAPI.inGarden() && config.enabled
@SubscribeEvent
- fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent){
- event.move(3,"garden.optimalSpeedEnabled", "garden.optimalSpeeds.enabled")
- event.move(3,"garden.optimalSpeedWarning", "garden.optimalSpeeds.warning")
- event.move(3,"garden.optimalSpeedSignEnabled", "garden.optimalSpeeds.signEnabled")
- event.move(3,"garden.optimalSpeedSignPosition", "garden.optimalSpeeds.signPosition")
- event.move(3,"garden.optimalSpeedPos", "garden.optimalSpeeds.pos")
- event.move(3,"garden.optimalSpeedCustom.wheat", "garden.optimalSpeeds.customSpeed.wheat")
- event.move(3,"garden.optimalSpeedCustom.carrot", "garden.optimalSpeeds.customSpeed.carrot")
- event.move(3,"garden.optimalSpeedCustom.potato", "garden.optimalSpeeds.customSpeed.potato")
- event.move(3,"garden.optimalSpeedCustom.netherWart", "garden.optimalSpeeds.customSpeed.netherWart")
- event.move(3,"garden.optimalSpeedCustom.pumpkin", "garden.optimalSpeeds.customSpeed.pumpkin")
- event.move(3,"garden.optimalSpeedCustom.melon", "garden.optimalSpeeds.customSpeed.melon")
- event.move(3,"garden.optimalSpeedCustom.cocoaBeans", "garden.optimalSpeeds.customSpeed.cocoaBeans")
- event.move(3,"garden.optimalSpeedCustom.sugarCane", "garden.optimalSpeeds.customSpeed.sugarCane")
- event.move(3,"garden.optimalSpeedCustom.cactus", "garden.optimalSpeeds.customSpeed.cactus")
- event.move(3,"garden.optimalSpeedCustom.mushroom", "garden.optimalSpeeds.customSpeed.mushroom")
+ fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent) {
+ event.move(3, "garden.optimalSpeedEnabled", "garden.optimalSpeeds.enabled")
+ event.move(3, "garden.optimalSpeedWarning", "garden.optimalSpeeds.warning")
+ event.move(3, "garden.optimalSpeedSignEnabled", "garden.optimalSpeeds.signEnabled")
+ event.move(3, "garden.optimalSpeedSignPosition", "garden.optimalSpeeds.signPosition")
+ event.move(3, "garden.optimalSpeedPos", "garden.optimalSpeeds.pos")
+ event.move(3, "garden.optimalSpeedCustom.wheat", "garden.optimalSpeeds.customSpeed.wheat")
+ event.move(3, "garden.optimalSpeedCustom.carrot", "garden.optimalSpeeds.customSpeed.carrot")
+ event.move(3, "garden.optimalSpeedCustom.potato", "garden.optimalSpeeds.customSpeed.potato")
+ event.move(3, "garden.optimalSpeedCustom.netherWart", "garden.optimalSpeeds.customSpeed.netherWart")
+ event.move(3, "garden.optimalSpeedCustom.pumpkin", "garden.optimalSpeeds.customSpeed.pumpkin")
+ event.move(3, "garden.optimalSpeedCustom.melon", "garden.optimalSpeeds.customSpeed.melon")
+ event.move(3, "garden.optimalSpeedCustom.cocoaBeans", "garden.optimalSpeeds.customSpeed.cocoaBeans")
+ event.move(3, "garden.optimalSpeedCustom.sugarCane", "garden.optimalSpeeds.customSpeed.sugarCane")
+ event.move(3, "garden.optimalSpeedCustom.cactus", "garden.optimalSpeeds.customSpeed.cactus")
+ event.move(3, "garden.optimalSpeedCustom.mushroom", "garden.optimalSpeeds.customSpeed.mushroom")
}
} \ No newline at end of file
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/ToolTooltipTweaks.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/ToolTooltipTweaks.kt
index 017cd8580..58371a771 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/garden/ToolTooltipTweaks.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/garden/ToolTooltipTweaks.kt
@@ -155,9 +155,9 @@ class ToolTooltipTweaks {
}
@SubscribeEvent
- fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent){
- event.move(3,"garden.compactToolTooltips", "garden.tooltipTweak.compactToolTooltips")
- event.move(3,"garden.fortuneTooltipKeybind", "garden.tooltipTweak.fortuneTooltipKeybind")
- event.move(3,"garden.cropTooltipFortune", "garden.tooltipTweak.cropTooltipFortune")
+ fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent) {
+ event.move(3, "garden.compactToolTooltips", "garden.tooltipTweak.compactToolTooltips")
+ event.move(3, "garden.fortuneTooltipKeybind", "garden.tooltipTweak.fortuneTooltipKeybind")
+ event.move(3, "garden.cropTooltipFortune", "garden.tooltipTweak.cropTooltipFortune")
}
} \ No newline at end of file
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/composter/ComposterDisplay.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/composter/ComposterDisplay.kt
index 0e3540061..553d0cea0 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/garden/composter/ComposterDisplay.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/garden/composter/ComposterDisplay.kt
@@ -207,7 +207,7 @@ class ComposterDisplay {
}
@SubscribeEvent
- fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent){
+ fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent) {
event.move(3, "garden.composterDisplayEnabled", "garden.composters.displayEnabled")
event.move(3, "garden.composterDisplayOutsideGarden", "garden.composters.displayOutsideGarden")
event.move(3, "garden.composterWarnAlmostClose", "garden.composters.warnAlmostClose")
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/composter/ComposterInventoryNumbers.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/composter/ComposterInventoryNumbers.kt
index 103f235c5..e344699c7 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/garden/composter/ComposterInventoryNumbers.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/garden/composter/ComposterInventoryNumbers.kt
@@ -69,7 +69,7 @@ class ComposterInventoryNumbers {
}
@SubscribeEvent
- fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent){
+ fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent) {
event.move(3, "garden.composterInventoryNumbers", "garden.composters.inventoryNumbers")
}
} \ No newline at end of file
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/composter/ComposterOverlay.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/composter/ComposterOverlay.kt
index aa1fc4d28..672d6fe4f 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/garden/composter/ComposterOverlay.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/garden/composter/ComposterOverlay.kt
@@ -568,7 +568,7 @@ class ComposterOverlay {
}
@SubscribeEvent
- fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent){
+ fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent) {
event.move(3, "garden.composterOverlay", "garden.composters.overlay")
event.move(3, "garden.composterOverlayPriceType", "garden.composters.overlayPriceType")
event.move(3, "garden.composterOverlayRetrieveFrom", "garden.composters.retrieveFrom")
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/composter/GardenComposterInventoryFeatures.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/composter/GardenComposterInventoryFeatures.kt
index cb74cfde5..695092598 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/garden/composter/GardenComposterInventoryFeatures.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/garden/composter/GardenComposterInventoryFeatures.kt
@@ -98,7 +98,7 @@ class GardenComposterInventoryFeatures {
}
@SubscribeEvent
- fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent){
+ fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent) {
event.move(3, "garden.composterUpgradePrice", "garden.composters.upgradePrice")
event.move(3, "garden.composterHighLightUpgrade", "garden.composters.highlightUpgrade")
}
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/contest/JacobFarmingContestsInventory.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/contest/JacobFarmingContestsInventory.kt
index bb4b36d3e..6150d60fc 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/garden/contest/JacobFarmingContestsInventory.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/garden/contest/JacobFarmingContestsInventory.kt
@@ -142,11 +142,11 @@ class JacobFarmingContestsInventory {
}
}
@SubscribeEvent
- fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent){
- event.move(3,"inventory.jacobFarmingContestHighlightRewards","inventory.jacobFarmingContests.highlightRewards")
- event.move(3,"inventory.jacobFarmingContestHideDuplicates","inventory.jacobFarmingContests.hideDuplicates")
- event.move(3,"inventory.jacobFarmingContestRealTime","inventory.jacobFarmingContests.realTime")
- event.move(3,"inventory.jacobFarmingContestFinneganIcon","inventory.jacobFarmingContests.finneganIcon")
- event.move(3,"inventory.jacobFarmingContestMedalIcon","inventory.jacobFarmingContests.medalIcon")
+ fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent) {
+ event.move(3, "inventory.jacobFarmingContestHighlightRewards", "inventory.jacobFarmingContests.highlightRewards")
+ event.move(3, "inventory.jacobFarmingContestHideDuplicates", "inventory.jacobFarmingContests.hideDuplicates")
+ event.move(3, "inventory.jacobFarmingContestRealTime", "inventory.jacobFarmingContests.realTime")
+ event.move(3, "inventory.jacobFarmingContestFinneganIcon", "inventory.jacobFarmingContests.finneganIcon")
+ event.move(3, "inventory.jacobFarmingContestMedalIcon", "inventory.jacobFarmingContests.medalIcon")
}
} \ No newline at end of file
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/farming/CropMoneyDisplay.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/farming/CropMoneyDisplay.kt
index cd9a3f555..cf649b9be 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/garden/farming/CropMoneyDisplay.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/garden/farming/CropMoneyDisplay.kt
@@ -420,7 +420,7 @@ object CropMoneyDisplay {
private fun isEnabled() = GardenAPI.inGarden() && config.display
@SubscribeEvent
- fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent){
+ fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent) {
event.move(3, "garden.moneyPerHourDisplay", "garden.moneyPerHours.display")
event.move(3, "garden.moneyPerHourShowOnlyBest", "garden.moneyPerHours.showOnlyBest")
event.move(3, "garden.moneyPerHourShowCurrent", "garden.moneyPerHours.showCurrent")
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/farming/DicerRngDropCounter.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/farming/DicerRngDropCounter.kt
index 4282e5e8f..040ab1710 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/garden/farming/DicerRngDropCounter.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/garden/farming/DicerRngDropCounter.kt
@@ -142,7 +142,7 @@ class DicerRngDropCounter {
fun isEnabled() = GardenAPI.inGarden() && config.display
@SubscribeEvent
- fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent){
+ fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent) {
event.move(3, "garden.dicerCounterDisplay", "garden.dicerCounters.display")
event.move(3, "garden.dicerCounterHideChat", "garden.dicerCounters.hideChat")
event.move(3, "garden.dicerCounterPos", "garden.dicerCounters.pos")
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/farming/FarmingArmorDrops.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/farming/FarmingArmorDrops.kt
index db232600a..1718adf7d 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/garden/farming/FarmingArmorDrops.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/garden/farming/FarmingArmorDrops.kt
@@ -145,9 +145,9 @@ class FarmingArmorDrops {
}
@SubscribeEvent
- fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent){
- event.move(3,"garden.farmingArmorDropsEnabled", "garden.farmingArmorDrop.enabled")
- event.move(3,"garden.farmingArmorDropsHideChat", "garden.farmingArmorDrop.hideChat")
- event.move(3,"garden.farmingArmorDropsPos", "garden.farmingArmorDrop.pos")
+ fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent) {
+ event.move(3, "garden.farmingArmorDropsEnabled", "garden.farmingArmorDrop.enabled")
+ event.move(3, "garden.farmingArmorDropsHideChat", "garden.farmingArmorDrop.hideChat")
+ event.move(3, "garden.farmingArmorDropsPos", "garden.farmingArmorDrop.pos")
}
} \ No newline at end of file
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/farming/FarmingWeightDisplay.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/farming/FarmingWeightDisplay.kt
index f7d9659dc..142d4f268 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/garden/farming/FarmingWeightDisplay.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/garden/farming/FarmingWeightDisplay.kt
@@ -72,14 +72,14 @@ class FarmingWeightDisplay {
@SubscribeEvent
fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent) {
event.move(1, "garden.eliteFarmingWeightoffScreenDropMessage", "garden.eliteFarmingWeightOffScreenDropMessage")
- event.move(3, "garden.eliteFarmingWeightDisplay","garden.eliteFarmingWeights.display")
- event.move(3, "garden.eliteFarmingWeightPos","garden.eliteFarmingWeights.pos")
- event.move(3, "garden.eliteFarmingWeightLeaderboard","garden.eliteFarmingWeights.leaderboard")
- event.move(3, "garden.eliteFarmingWeightOvertakeETA","garden.eliteFarmingWeights.overtakeETA")
- event.move(3, "garden.eliteFarmingWeightOffScreenDropMessage","garden.eliteFarmingWeights.offScreenDropMessage")
- event.move(3, "garden.eliteFarmingWeightOvertakeETAAlways","garden.eliteFarmingWeights.overtakeETAAlways")
- event.move(3, "garden.eliteFarmingWeightETAGoalRank","garden.eliteFarmingWeights.ETAGoalRank")
- event.move(3, "garden.eliteFarmingWeightIgnoreLow","garden.eliteFarmingWeights.ignoreLow")
+ event.move(3, "garden.eliteFarmingWeightDisplay", "garden.eliteFarmingWeights.display")
+ event.move(3, "garden.eliteFarmingWeightPos", "garden.eliteFarmingWeights.pos")
+ event.move(3, "garden.eliteFarmingWeightLeaderboard", "garden.eliteFarmingWeights.leaderboard")
+ event.move(3, "garden.eliteFarmingWeightOvertakeETA", "garden.eliteFarmingWeights.overtakeETA")
+ event.move(3, "garden.eliteFarmingWeightOffScreenDropMessage", "garden.eliteFarmingWeights.offScreenDropMessage")
+ event.move(3, "garden.eliteFarmingWeightOvertakeETAAlways", "garden.eliteFarmingWeights.overtakeETAAlways")
+ event.move(3, "garden.eliteFarmingWeightETAGoalRank", "garden.eliteFarmingWeights.ETAGoalRank")
+ event.move(3, "garden.eliteFarmingWeightIgnoreLow", "garden.eliteFarmingWeights.ignoreLow")
}
companion object {
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/farming/GardenBestCropTime.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/farming/GardenBestCropTime.kt
index ba5945762..0ef03d090 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/garden/farming/GardenBestCropTime.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/garden/farming/GardenBestCropTime.kt
@@ -129,7 +129,7 @@ class GardenBestCropTime {
private fun getGardenExpForTier(gardenLevel: Int) = if (gardenLevel > 30) 300 else gardenLevel * 10
@SubscribeEvent
- fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent){
+ fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent) {
event.move(3, "garden.cropMilestoneBestType", "garden.cropMilestones.next.bestType")
event.move(3, "garden.cropMilestoneShowOnlyBest", "garden.cropMilestones.next.showOnlyBest")
event.move(3, "garden.cropMilestoneShowCurrent", "garden.cropMilestones.next.showCurrent")
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/farming/GardenCropMilestoneDisplay.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/farming/GardenCropMilestoneDisplay.kt
index a26365bcd..d2948b105 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/garden/farming/GardenCropMilestoneDisplay.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/garden/farming/GardenCropMilestoneDisplay.kt
@@ -290,19 +290,19 @@ object GardenCropMilestoneDisplay {
private fun isEnabled() = GardenAPI.inGarden() && config.progress
@SubscribeEvent
- fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent){
- event.move(3,"garden.cropMilestoneProgress", "garden.cropMilestones.progress")
+ fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent) {
+ event.move(3, "garden.cropMilestoneProgress", "garden.cropMilestones.progress")
event.move(3, "garden.cropMilestoneWarnClose", "garden.cropMilestones.warnClose")
- event.move(3, "garden.cropMilestoneHighestTimeFormat","garden.cropMilestones.highestTimeFormat")
- event.move(3,"garden.cropMilestoneBestShowMaxedNeeded","garden.cropMilestones.bestShowMaxedNeeded")
- event.move(3,"garden.cropMilestoneText","garden.cropMilestones.text")
- event.move(3,"garden.blocksBrokenPrecision", "garden.cropMilestones.blocksBrokenPrecision")
+ event.move(3, "garden.cropMilestoneHighestTimeFormat", "garden.cropMilestones.highestTimeFormat")
+ event.move(3, "garden.cropMilestoneBestShowMaxedNeeded", "garden.cropMilestones.bestShowMaxedNeeded")
+ event.move(3, "garden.cropMilestoneText", "garden.cropMilestones.text")
+ event.move(3, "garden.blocksBrokenPrecision", "garden.cropMilestones.blocksBrokenPrecision")
event.move(3, "garden.cropMilestoneProgressDisplayPos", "garden.cropMilestones.progressDisplayPos")
event.move(3, "garden.cropMilestoneBestDisplay", "garden.cropMilestones.next.bestDisplay")
event.move(3, "garden.cropMilestoneBestAlwaysOn", "garden.cropMilestones.next.bestAlwaysOn")
event.move(3, "garden.cropMilestoneNextDisplayPos", "garden.cropMilestones.next.displayPos")
- event.move(3,"garden.cropMilestoneMushroomPetPerkEnabled","garden.cropMilestones.mushroomPetPerk.enabled")
- event.move(3,"garden.cropMilestoneMushroomPetPerkText","garden.cropMilestones.mushroomPetPerk.text")
- event.move(3,"garden.cropMilestoneMushroomPetPerkPos","garden.cropMilestones.mushroomPetPerk.pos")
+ event.move(3, "garden.cropMilestoneMushroomPetPerkEnabled", "garden.cropMilestones.mushroomPetPerk.enabled")
+ event.move(3, "garden.cropMilestoneMushroomPetPerkText", "garden.cropMilestones.mushroomPetPerk.text")
+ event.move(3, "garden.cropMilestoneMushroomPetPerkPos", "garden.cropMilestones.mushroomPetPerk.pos")
}
}
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/farming/GardenCropSpeed.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/farming/GardenCropSpeed.kt
index 0ac20c8bc..46b16ca1c 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/garden/farming/GardenCropSpeed.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/garden/farming/GardenCropSpeed.kt
@@ -197,7 +197,7 @@ object GardenCropSpeed {
fun isSpeedDataEmpty() = cropsPerSecond?.values?.sum()?.let { it == 0 } ?: true
@SubscribeEvent
- fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent){
+ fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent) {
event.move(3,"garden.blocksBrokenResetTime", "garden.cropMilestones.blocksBrokenResetTime")
}
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/farming/GardenCustomKeybinds.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/farming/GardenCustomKeybinds.kt
index 7c93f3b99..6b30cf3af 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/garden/farming/GardenCustomKeybinds.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/garden/farming/GardenCustomKeybinds.kt
@@ -69,7 +69,7 @@ object GardenCustomKeybinds {
}
@SubscribeEvent
- fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent){
+ fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent) {
event.move(3, "garden.keyBindEnabled", "garden.keyBind.enabled")
event.move(3, "garden.keyBindAttack", "garden.keyBind.attack")
event.move(3, "garden.keyBindUseItem", "garden.keyBind.useItem")
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/inventory/AnitaExtraFarmingFortune.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/inventory/AnitaExtraFarmingFortune.kt
index 01381e80a..4824e9de0 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/garden/inventory/AnitaExtraFarmingFortune.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/garden/inventory/AnitaExtraFarmingFortune.kt
@@ -82,7 +82,7 @@ class AnitaExtraFarmingFortune {
}
@SubscribeEvent
- fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent){
- event.move(3,"garden.extraFarmingFortune", "garden.anitaShop.extraFarmingFortune")
+ fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent) {
+ event.move(3, "garden.extraFarmingFortune", "garden.anitaShop.extraFarmingFortune")
}
}
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/inventory/GardenCropMilestoneInventory.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/inventory/GardenCropMilestoneInventory.kt
index db3803c09..495696a3e 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/garden/inventory/GardenCropMilestoneInventory.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/garden/inventory/GardenCropMilestoneInventory.kt
@@ -77,8 +77,8 @@ class GardenCropMilestoneInventory {
}
@SubscribeEvent
- fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent){
- event.move(3,"garden.numberAverageCropMilestone", "garden.number.averageCropMilestone")
+ fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent) {
+ event.move(3, "garden.numberAverageCropMilestone", "garden.number.averageCropMilestone")
event.move(3, "garden.cropMilestoneTotalProgress", "garden.tooltipTweak.cropMilestoneTotalProgress")
}
} \ No newline at end of file
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/inventory/GardenInventoryNumbers.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/inventory/GardenInventoryNumbers.kt
index 87b496912..c030d4087 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/garden/inventory/GardenInventoryNumbers.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/garden/inventory/GardenInventoryNumbers.kt
@@ -55,10 +55,10 @@ class GardenInventoryNumbers {
}
@SubscribeEvent
- fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent){
- event.move(3,"garden.numberCropMilestone", "garden.number.cropMilestone")
- event.move(3,"garden.numberCropUpgrades", "garden.number.cropUpgrades")
- event.move(3,"garden.numberComposterUpgrades", "garden.number.composterUpgrades")
+ fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent) {
+ event.move(3, "garden.numberCropMilestone", "garden.number.cropMilestone")
+ event.move(3, "garden.numberCropUpgrades", "garden.number.cropUpgrades")
+ event.move(3, "garden.numberComposterUpgrades", "garden.number.composterUpgrades")
}
} \ No newline at end of file
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/inventory/SkyMartCopperPrice.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/inventory/SkyMartCopperPrice.kt
index b9d73689c..ffd2dfa51 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/garden/inventory/SkyMartCopperPrice.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/garden/inventory/SkyMartCopperPrice.kt
@@ -82,7 +82,7 @@ class SkyMartCopperPrice {
private fun isEnabled() = GardenAPI.inGarden() && config.copperPrice
@SubscribeEvent
- fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent){
+ fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent) {
event.move(3, "garden.skyMartCopperPrice", "garden.skyMart.copperPrice")
event.move(3, "garden.skyMartCopperPriceAdvancedStats", "garden.skyMart.copperPriceAdvancedStats")
event.move(3, "garden.skyMartCopperPricePos", "garden.skyMart.copperPricePos")
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorDropStatistics.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorDropStatistics.kt
index 788023d1e..618f48e59 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorDropStatistics.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorDropStatistics.kt
@@ -231,7 +231,7 @@ object GardenVisitorDropStatistics {
}
@SubscribeEvent
- fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent){
+ fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent) {
event.move(3, "garden.visitorDropsStatistics.enabled", "garden.visitors.dropsStatistics.enabled")
event.move(3, "garden.visitorDropsStatistics.textFormat", "garden.visitors.dropsStatistics.textFormat")
event.move(3, "garden.visitorDropsStatistics.displayNumbersFirst", "garden.visitors.dropsStatistics.displayNumbersFirst")
diff --git a/src/main/java/at/hannibal2/skyhanni/features/inventory/HideNotClickableItems.kt b/src/main/java/at/hannibal2/skyhanni/features/inventory/HideNotClickableItems.kt
index 0161d0a67..08011cf0f 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/inventory/HideNotClickableItems.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/inventory/HideNotClickableItems.kt
@@ -507,7 +507,7 @@ class HideNotClickableItems {
}
@SubscribeEvent
- fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent){
+ fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent) {
event.move(3, "inventory.hideNotClickableItems", "inventory.hideNotClickable.items")
event.move(3, "inventory.hideNotClickableItemsBlockClicks", "inventory.hideNotClickable.itemsBlockClicks")
event.move(3, "inventory.hideNotClickableOpacity", "inventory.hideNotClickable.opacity")
diff --git a/src/main/java/at/hannibal2/skyhanni/features/inventory/RngMeterInventory.kt b/src/main/java/at/hannibal2/skyhanni/features/inventory/RngMeterInventory.kt
index 0aefa9740..3bde5ca49 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/inventory/RngMeterInventory.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/inventory/RngMeterInventory.kt
@@ -55,11 +55,12 @@ class RngMeterInventory {
}
}
}
+
@SubscribeEvent
- fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent){
- event.move(3,"inventory.rngMeterFloorName", "inventory.rngMeter.floorName")
- event.move(3,"inventory.rngMeterNoDrop", "inventory.rngMeter.noDrop")
- event.move(3,"inventory.rngMeterSelectedDrop", "inventory.rngMeter.selectedDrop")
+ fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent) {
+ event.move(3, "inventory.rngMeterFloorName", "inventory.rngMeter.floorName")
+ event.move(3, "inventory.rngMeterNoDrop", "inventory.rngMeter.noDrop")
+ event.move(3, "inventory.rngMeterSelectedDrop", "inventory.rngMeter.selectedDrop")
}
} \ No newline at end of file
diff --git a/src/main/java/at/hannibal2/skyhanni/features/inventory/StatsTuning.kt b/src/main/java/at/hannibal2/skyhanni/features/inventory/StatsTuning.kt
index b9090c069..ff0e6f41d 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/inventory/StatsTuning.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/inventory/StatsTuning.kt
@@ -108,10 +108,10 @@ class StatsTuning {
}
}
@SubscribeEvent
- fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent){
- event.move(3,"inventory.statsTuningSelectedStats", "inventory.statsTuning.selectedStats")
- event.move(3,"inventory.statsTuningSelectedTemplate", "inventory.statsTuning.selectedTemplate")
- event.move(3,"inventory.statsTuningTemplateStats", "inventory.statsTuning.templateStats")
- event.move(3,"inventory.statsTuningPoints", "inventory.statsTuning.points")
+ fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent) {
+ event.move(3, "inventory.statsTuningSelectedStats", "inventory.statsTuning.selectedStats")
+ event.move(3, "inventory.statsTuningSelectedTemplate", "inventory.statsTuning.selectedTemplate")
+ event.move(3, "inventory.statsTuningTemplateStats", "inventory.statsTuning.templateStats")
+ event.move(3, "inventory.statsTuningPoints", "inventory.statsTuning.points")
}
} \ No newline at end of file
diff --git a/src/main/java/at/hannibal2/skyhanni/features/itemabilities/FireVeilWandParticles.kt b/src/main/java/at/hannibal2/skyhanni/features/itemabilities/FireVeilWandParticles.kt
index 6f428fa64..7501f8d70 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/itemabilities/FireVeilWandParticles.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/itemabilities/FireVeilWandParticles.kt
@@ -15,13 +15,14 @@ import net.minecraft.util.EnumParticleTypes
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent
class FireVeilWandParticles {
+ private val config get() = SkyHanniMod.feature.itemAbilities.fireVeilWands
var lastClick = 0L
@SubscribeEvent
fun onChatPacket(event: ReceiveParticleEvent) {
if (!LorenzUtils.inSkyBlock) return
- if (SkyHanniMod.feature.itemAbilities.fireVeilWands.display == 0) return
+ if (config.display == 0) return
if (System.currentTimeMillis() > lastClick + 5_500) return
if (event.type == EnumParticleTypes.FLAME && event.count == 1 && event.speed == 0f && event.offset.isZero()) {
@@ -45,17 +46,17 @@ class FireVeilWandParticles {
@SubscribeEvent
fun onRenderWorld(event: LorenzRenderWorldEvent) {
if (!LorenzUtils.inSkyBlock) return
- if (SkyHanniMod.feature.itemAbilities.fireVeilWands.display != 1) return
+ if (config.display != 1) return
if (System.currentTimeMillis() > lastClick + 5_500) return
- val color = SkyHanniMod.feature.itemAbilities.fireVeilWands.displayColor.toChromaColor()
+ val color = config.displayColor.toChromaColor()
RenderUtils.drawCircle(Minecraft.getMinecraft().thePlayer, event.partialTicks, 3.5, color)
}
@SubscribeEvent
- fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent){
- event.move(3,"itemAbilities.fireVeilWandDisplayColor", "itemAbilities.fireVeilWands.displayColor")
- event.move(3,"itemAbilities.fireVeilWandDisplay", "itemAbilities.fireVeilWands.display")
+ fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent) {
+ event.move(3, "itemAbilities.fireVeilWandDisplayColor", "itemAbilities.fireVeilWands.displayColor")
+ event.move(3, "itemAbilities.fireVeilWandDisplay", "itemAbilities.fireVeilWands.display")
}
} \ No newline at end of file
diff --git a/src/main/java/at/hannibal2/skyhanni/features/minion/MinionFeatures.kt b/src/main/java/at/hannibal2/skyhanni/features/minion/MinionFeatures.kt
index c20a478da..a3dcdced7 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/minion/MinionFeatures.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/minion/MinionFeatures.kt
@@ -341,7 +341,7 @@ class MinionFeatures {
}
@SubscribeEvent
- fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent){
+ fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent) {
event.move(3, "minions.lastClickedMinionDisplay", "minions.lastClickedMinion.display")
event.move(3, "minions.lastOpenedMinionColor", "minions.lastClickedMinion.color")
event.move(3, "minions.lastOpenedMinionTime", "minions.lastClickedMinion.time")
diff --git a/src/main/java/at/hannibal2/skyhanni/features/misc/CurrentPetDisplay.kt b/src/main/java/at/hannibal2/skyhanni/features/misc/CurrentPetDisplay.kt
index f3014101c..a89c6e69e 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/misc/CurrentPetDisplay.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/misc/CurrentPetDisplay.kt
@@ -73,7 +73,7 @@ class CurrentPetDisplay {
}
@SubscribeEvent
- fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent){
- event.move(3,"misc.petDisplay", "misc.pets.display")
+ fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent) {
+ event.move(3, "misc.petDisplay", "misc.pets.display")
}
} \ No newline at end of file
diff --git a/src/main/java/at/hannibal2/skyhanni/features/misc/ParticleHider.kt b/src/main/java/at/hannibal2/skyhanni/features/misc/ParticleHider.kt
index 00f9ddb14..aebfbdac3 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/misc/ParticleHider.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/misc/ParticleHider.kt
@@ -41,14 +41,14 @@ class ParticleHider {
}
@SubscribeEvent
- fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent){
- event.move(3,"misc.hideBlazeParticles", "misc.particleHiders.hideBlazeParticles")
+ fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent) {
+ event.move(3, "misc.hideBlazeParticles", "misc.particleHiders.hideBlazeParticles")
event.move(3, "misc.hideEndermanParticles", "misc.particleHiders.hideEndermanParticles")
event.move(3, "misc.hideFarParticles", "misc.particleHiders.hideFarParticles")
event.move(3, "misc.hideFireballParticles", "misc.particleHiders.hideFireballParticles")
event.move(3, "misc.hideCloseRedstoneparticles", "misc.particleHiders.hideCloseRedstoneParticles")
event.move(3, "misc.hideFireBlockParticles", "misc.particleHiders.hideFireBlockParticles")
- event.move(3,"misc.hideSmokeParticles", "misc.particleHiders.hideSmokeParticles")
+ event.move(3, "misc.hideSmokeParticles", "misc.particleHiders.hideSmokeParticles")
}
diff --git a/src/main/java/at/hannibal2/skyhanni/features/misc/ThunderSparksHighlight.kt b/src/main/java/at/hannibal2/skyhanni/features/misc/ThunderSparksHighlight.kt
index 89245c220..cceda92ea 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/misc/ThunderSparksHighlight.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/misc/ThunderSparksHighlight.kt
@@ -70,7 +70,7 @@ class ThunderSparksHighlight {
}
@SubscribeEvent
- fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent){
+ fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent) {
event.move(3, "fishing.thunderSparkHighlight", "fishing.thunderSpark.highlight")
event.move(3, "fishing.thunderSparkColor", "fishing.thunderSpark.color")
}
diff --git a/src/main/java/at/hannibal2/skyhanni/features/misc/items/EstimatedItemValue.kt b/src/main/java/at/hannibal2/skyhanni/features/misc/items/EstimatedItemValue.kt
index 6c9613f5a..dcc2574d9 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/misc/items/EstimatedItemValue.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/misc/items/EstimatedItemValue.kt
@@ -790,7 +790,7 @@ object EstimatedItemValue {
}
@SubscribeEvent
- fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent){
+ fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent) {
event.move(3, "misc.estimatedIemValueEnabled", "misc.estimatedItemValues.enabled")
event.move(3, "misc.estimatedItemValueHotkey", "misc.estimatedItemValues.hotkey")
event.move(3, "misc.estimatedIemValueAlwaysEnabled", "misc.estimatedItemValues.alwaysEnabled")
diff --git a/src/main/java/at/hannibal2/skyhanni/features/misc/items/EstimatedWardrobePrice.kt b/src/main/java/at/hannibal2/skyhanni/features/misc/items/EstimatedWardrobePrice.kt
index 2b5dd5075..dd1f9d236 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/misc/items/EstimatedWardrobePrice.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/misc/items/EstimatedWardrobePrice.kt
@@ -65,7 +65,7 @@ class EstimatedWardrobePrice {
}
@SubscribeEvent
- fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent){
- event.move(3,"misc.estimatedIemValueArmor", "misc.estimatedItemValues.armor")
+ fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent) {
+ event.move(3, "misc.estimatedIemValueArmor", "misc.estimatedItemValues.armor")
}
} \ No newline at end of file
diff --git a/src/main/java/at/hannibal2/skyhanni/features/slayer/blaze/BlazeSlayerClearView.kt b/src/main/java/at/hannibal2/skyhanni/features/slayer/blaze/BlazeSlayerClearView.kt
index bc01a8c0d..e0910e340 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/slayer/blaze/BlazeSlayerClearView.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/slayer/blaze/BlazeSlayerClearView.kt
@@ -57,7 +57,7 @@ class BlazeSlayerClearView {
}
@SubscribeEvent
- fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent){
+ fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent) {
event.move(3, "slayer.blazeClearView", "slayer.blazes.clearView")
}
} \ No newline at end of file
diff --git a/src/main/java/at/hannibal2/skyhanni/features/slayer/blaze/BlazeSlayerDaggerHelper.kt b/src/main/java/at/hannibal2/skyhanni/features/slayer/blaze/BlazeSlayerDaggerHelper.kt
index 2d8707475..ce892f31f 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/slayer/blaze/BlazeSlayerDaggerHelper.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/slayer/blaze/BlazeSlayerDaggerHelper.kt
@@ -314,11 +314,11 @@ class BlazeSlayerDaggerHelper {
}
@SubscribeEvent
- fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent){
+ fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent) {
event.move(3, "slayer.blazeDaggers", "slayer.blazes.hellion.daggers")
event.move(3, "slayer.blazeMarkRightHellionShield", "slayer.blazes.hellion.markRightHellionShield")
- event.move(3,"slayer.blazeFirstDagger", "slayer.blazes.hellion.firstDagger")
- event.move(3,"slayer.blazeHideDaggerWarning", "slayer.blazes.hellion.hideDaggerWarning")
+ event.move(3, "slayer.blazeFirstDagger", "slayer.blazes.hellion.firstDagger")
+ event.move(3, "slayer.blazeHideDaggerWarning", "slayer.blazes.hellion.hideDaggerWarning")
}
}
diff --git a/src/main/java/at/hannibal2/skyhanni/features/slayer/blaze/BlazeSlayerFirePitsWarning.kt b/src/main/java/at/hannibal2/skyhanni/features/slayer/blaze/BlazeSlayerFirePitsWarning.kt
index d742c3da1..8ca2f4d5b 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/slayer/blaze/BlazeSlayerFirePitsWarning.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/slayer/blaze/BlazeSlayerFirePitsWarning.kt
@@ -67,7 +67,7 @@ class BlazeSlayerFirePitsWarning {
)
@SubscribeEvent
- fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent){
+ fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent) {
event.move(3, "slayer.firePitsWarning", "slayer.blazes.firePitsWarning")
}
} \ No newline at end of file
diff --git a/src/main/java/at/hannibal2/skyhanni/features/slayer/blaze/HellionShieldHelper.kt b/src/main/java/at/hannibal2/skyhanni/features/slayer/blaze/HellionShieldHelper.kt
index 2a1f2aa74..e0ba32edc 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/slayer/blaze/HellionShieldHelper.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/slayer/blaze/HellionShieldHelper.kt
@@ -42,7 +42,7 @@ fun EntityLiving.setHellionShield(shield: HellionShield?) {
}
@SubscribeEvent
- fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent){
+ fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent) {
event.move(3, "slayer.blazeColoredMobs", "slayer.blazes.hellion.coloredMobs")
}
} \ No newline at end of file
diff --git a/src/main/java/at/hannibal2/skyhanni/features/slayer/enderman/EndermanSlayerFeatures.kt b/src/main/java/at/hannibal2/skyhanni/features/slayer/enderman/EndermanSlayerFeatures.kt
index c6d04a76c..d36a7be57 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/slayer/enderman/EndermanSlayerFeatures.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/slayer/enderman/EndermanSlayerFeatures.kt
@@ -218,7 +218,7 @@ class EndermanSlayerFeatures {
}
@SubscribeEvent
- fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent){
+ fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent) {
event.move(3, "slayer.endermanBeaconConfig.highlightBeacon", "slayer.endermen.endermanBeaconConfig.highlightBeacon")
event.move(3, "slayer.endermanBeaconConfig.beaconColor", "slayer.endermen.endermanBeaconConfig.beaconColor")
event.move(3, "slayer.endermanBeaconConfig.showWarning", "slayer.endermen.endermanBeaconConfig.showWarning")
diff --git a/src/main/java/at/hannibal2/skyhanni/features/slayer/enderman/EndermanSlayerHideParticles.kt b/src/main/java/at/hannibal2/skyhanni/features/slayer/enderman/EndermanSlayerHideParticles.kt
index 887f1177c..857dfcc91 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/slayer/enderman/EndermanSlayerHideParticles.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/slayer/enderman/EndermanSlayerHideParticles.kt
@@ -49,7 +49,7 @@ class EndermanSlayerHideParticles {
fun isEnabled() = IslandType.THE_END.isInIsland() && SkyHanniMod.feature.slayer.endermen.hideParticles
@SubscribeEvent
- fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent){
- event.move(3,"slayer.endermanHideParticles", "slayer.endermen.hideParticles")
+ fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent) {
+ event.move(3, "slayer.endermanHideParticles", "slayer.endermen.hideParticles")
}
}
diff --git a/src/main/java/at/hannibal2/skyhanni/test/SkyHanniDebugsAndTests.kt b/src/main/java/at/hannibal2/skyhanni/test/SkyHanniDebugsAndTests.kt
index 110c4ce28..745cbcb97 100644
--- a/src/main/java/at/hannibal2/skyhanni/test/SkyHanniDebugsAndTests.kt
+++ b/src/main/java/at/hannibal2/skyhanni/test/SkyHanniDebugsAndTests.kt
@@ -570,7 +570,7 @@ class SkyHanniDebugsAndTests {
event.move(3, "dev.showInternalName", "dev.debug.showInternalName")
event.move(3, "dev.showEmptyNames", "dev.debug.showEmptyNames")
event.move(3, "dev.showItemRarity", "dev.debug.showItemRarity")
- event.move(3,"dev.copyInternalName", "dev.debug.copyInternalName")
+ event.move(3, "dev.copyInternalName", "dev.debug.copyInternalName")
event.move(3, "dev.showNpcPrice", "dev.debug.showNpcPrice")
}
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/MinecraftConsoleFilter.kt b/src/main/java/at/hannibal2/skyhanni/utils/MinecraftConsoleFilter.kt
index 09a509d90..ee373d6b1 100644
--- a/src/main/java/at/hannibal2/skyhanni/utils/MinecraftConsoleFilter.kt
+++ b/src/main/java/at/hannibal2/skyhanni/utils/MinecraftConsoleFilter.kt
@@ -236,20 +236,21 @@ class MinecraftConsoleFilter(private val loggerConfigName: String) : Filter {
): Filter.Result {
return Filter.Result.ACCEPT
}
+
@SubscribeEvent
fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent) {
- event.move(3,"dev.printUnfilteredDebugs", "dev.minecraftConsoles.printUnfilteredDebugs")
- event.move(3,"dev.logUnfilteredFile", "dev.minecraftConsoles.logUnfilteredFile")
- event.move(3,"dev.printUnfilteredDebugsOutsideSkyBlock", "dev.minecraftConsoles.printUnfilteredDebugsOutsideSkyBlock")
- event.move(3,"dev.printFilteredReason", "dev.minecraftConsoles.printFilteredReason")
- event.move(3,"dev.filterChat", "dev.minecraftConsoles.consoleFilter.filterChat")
- event.move(3,"dev.filterGrowBuffer", "dev.minecraftConsoles.consoleFilter.filterGrowBuffer")
- event.move(3,"dev.filterUnknownSound", "dev.minecraftConsoles.consoleFilter.filterUnknownSound")
- event.move(3,"dev.filterParticleVillagerHappy", "dev.minecraftConsoles.consoleFilter.filterParticleVillagerHappy")
- event.move(3,"dev.filterAmsHelperTransformer", "dev.minecraftConsoles.consoleFilter.filterAmsHelperTransformer")
- event.move(3,"dev.filterAsmHelperApplying", "dev.minecraftConsoles.consoleFilter.filterAsmHelperApplying")
- event.move(3,"dev.filterBiomeIdBounds", "dev.minecraftConsoles.consoleFilter.filterBiomeIdBounds")
- event.move(3,"dev.filterScoreboardErrors", "dev.minecraftConsoles.consoleFilter.filterScoreboardErrors")
- event.move(3,"dev.filterOptiFine", "dev.minecraftConsoles.consoleFilter.filterOptiFine")
+ event.move(3, "dev.printUnfilteredDebugs", "dev.minecraftConsoles.printUnfilteredDebugs")
+ event.move(3, "dev.logUnfilteredFile", "dev.minecraftConsoles.logUnfilteredFile")
+ event.move(3, "dev.printUnfilteredDebugsOutsideSkyBlock", "dev.minecraftConsoles.printUnfilteredDebugsOutsideSkyBlock")
+ event.move(3, "dev.printFilteredReason", "dev.minecraftConsoles.printFilteredReason")
+ event.move(3, "dev.filterChat", "dev.minecraftConsoles.consoleFilter.filterChat")
+ event.move(3, "dev.filterGrowBuffer", "dev.minecraftConsoles.consoleFilter.filterGrowBuffer")
+ event.move(3, "dev.filterUnknownSound", "dev.minecraftConsoles.consoleFilter.filterUnknownSound")
+ event.move(3, "dev.filterParticleVillagerHappy", "dev.minecraftConsoles.consoleFilter.filterParticleVillagerHappy")
+ event.move(3, "dev.filterAmsHelperTransformer", "dev.minecraftConsoles.consoleFilter.filterAmsHelperTransformer")
+ event.move(3, "dev.filterAsmHelperApplying", "dev.minecraftConsoles.consoleFilter.filterAsmHelperApplying")
+ event.move(3, "dev.filterBiomeIdBounds", "dev.minecraftConsoles.consoleFilter.filterBiomeIdBounds")
+ event.move(3, "dev.filterScoreboardErrors", "dev.minecraftConsoles.consoleFilter.filterScoreboardErrors")
+ event.move(3, "dev.filterOptiFine", "dev.minecraftConsoles.consoleFilter.filterOptiFine")
}
}