From eb811624957e4efcd01aebafbb5d4d520808a7c1 Mon Sep 17 00:00:00 2001 From: Wyvest Date: Mon, 18 Dec 2023 04:59:55 +0900 Subject: [PATCH] remove armorhud offhand feature --- gradle.properties | 2 +- src/main/kotlin/org/polyfrost/evergreenhud/hud/Armour.kt | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/gradle.properties b/gradle.properties index 5b928e9..81e1872 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,6 +1,6 @@ mod_name = EvergreenHUD mod_id = evergreenhud -mod_version = 2.1.1 +mod_version = 2.1.2 mod_archives_name=EvergreenHUD # Gradle Configuration -- DO NOT TOUCH THESE VALUES. diff --git a/src/main/kotlin/org/polyfrost/evergreenhud/hud/Armour.kt b/src/main/kotlin/org/polyfrost/evergreenhud/hud/Armour.kt index 859ed88..0cf252e 100644 --- a/src/main/kotlin/org/polyfrost/evergreenhud/hud/Armour.kt +++ b/src/main/kotlin/org/polyfrost/evergreenhud/hud/Armour.kt @@ -25,7 +25,6 @@ class Armour: Config(Mod("ArmourHud", ModType.HUD), "evergreenhud/armour.json", init { initialize() - addDependency("showOffhand", "Minecraft Version 1.9 or later") { Platform.getInstance().minecraftVersion >= 10900 } } class ArmourHud : BasicHud(true, 1920f - 5, 1080f - 5) { @@ -61,11 +60,6 @@ class Armour: Config(Mod("ArmourHud", ModType.HUD), "evergreenhud/armour.json", ) var showMainHand = true - @Switch( - name = "Show Offhand Item" - ) - var showOffhand = true - @Slider( name = "Item Padding", min = 0F,