diff options
| author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-12-25 01:00:26 +0100 |
|---|---|---|
| committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-12-25 01:00:26 +0100 |
| commit | e70531a2090979d942b047be004b319869a6f220 (patch) | |
| tree | 9c07adc33c159b321b871cba779b7f08f111f9e9 /src/main/java/at/hannibal2/skyhanni/features/chroma | |
| parent | 2f0c352849ec84e53676f62be27a1c9e92210441 (diff) | |
| download | skyhanni-e70531a2090979d942b047be004b319869a6f220.tar.gz skyhanni-e70531a2090979d942b047be004b319869a6f220.tar.bz2 skyhanni-e70531a2090979d942b047be004b319869a6f220.zip | |
Fixed config migration errors
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/chroma')
| -rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/chroma/ChromaShader.kt | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/chroma/ChromaShader.kt b/src/main/java/at/hannibal2/skyhanni/features/chroma/ChromaShader.kt index e265d6525..902caadf0 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/chroma/ChromaShader.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/chroma/ChromaShader.kt @@ -1,15 +1,12 @@ package at.hannibal2.skyhanni.features.chroma import at.hannibal2.skyhanni.SkyHanniMod -import at.hannibal2.skyhanni.config.ConfigUpdaterMigrator import at.hannibal2.skyhanni.config.features.chroma.ChromaConfig.Direction import at.hannibal2.skyhanni.data.MinecraftData import at.hannibal2.skyhanni.mixins.transformers.AccessorMinecraft -import at.hannibal2.skyhanni.utils.ConfigUtils import at.hannibal2.skyhanni.utils.shader.Shader import at.hannibal2.skyhanni.utils.shader.Uniform import net.minecraft.client.Minecraft -import net.minecraftforge.fml.common.eventhandler.SubscribeEvent /** * Modified from SkyblockAddons @@ -50,11 +47,4 @@ object ChromaShader : Shader("chroma", "chroma") { } } } - - @SubscribeEvent - fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent) { - event.transform(15, "config.chromaDirection") { element -> - ConfigUtils.migrateIntToEnum(element, Direction::class.java) - } - } } |
