package dulkirmod.command import dulkirmod.DulkirMod.Companion.config import dulkirmod.utils.TextUtils import net.minecraft.command.CommandException import net.minecraft.command.ICommandSender class FairyCommand : ClientCommandBase("fairy") { @Throws(CommandException::class) override fun processCommand(sender: ICommandSender, args: Array) { config.hideHealerFairy = !config.hideHealerFairy TextUtils.toggledMessage("Healer Fairy Hider", config.hideHealerFairy) config.markDirty() config.writeData() } }