blob: b8231b77ef2eae6c1be1f08f18b3bd0c3b87f734 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
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<String>) {
config.hideHealerFairy = !config.hideHealerFairy
TextUtils.toggledMessage("Healer Fairy Hider", config.hideHealerFairy)
config.save()
}
}
|