From 58b579a1ebd7a6969ba8331b203b87ad1b2e9f2c Mon Sep 17 00:00:00 2001 From: ThisIsALegitUsername Date: Thu, 2 Feb 2023 16:34:54 +0000 Subject: [PATCH] Port cosmetics --- src/main/java/dev/resent/module/impl/misc/Cosmetics.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/main/java/dev/resent/module/impl/misc/Cosmetics.java b/src/main/java/dev/resent/module/impl/misc/Cosmetics.java index ef2deb89..5db7268e 100644 --- a/src/main/java/dev/resent/module/impl/misc/Cosmetics.java +++ b/src/main/java/dev/resent/module/impl/misc/Cosmetics.java @@ -1,15 +1,14 @@ package dev.resent.module.impl.misc; +import dev.resent.annotation.Module; import dev.resent.module.base.Category; import dev.resent.module.base.Mod; import dev.resent.module.setting.BooleanSetting; import dev.resent.module.setting.ModeSetting; +@Module(name = "Cosmetics", category = Category.MISC, hasSetting = true) public class Cosmetics extends Mod{ - public Cosmetics(){ - super("Cosmetics", Category.MISC, true); - addSetting(who, show, halo, crystalwings, glasses, hat); - } + public Cosmetics(){ addSetting(who, show, halo, crystalwings, glasses, hat); } public static BooleanSetting show = new BooleanSetting("Show cosmetics", "", true); public static BooleanSetting crystalwings = new BooleanSetting("Crystal wings", "", false);