All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.skillw.pouvoir.internal.command.sub.PouMirrorCommand.kt Maven / Gradle / Ivy

The newest version!
package com.skillw.pouvoir.internal.command.sub

import com.skillw.pouvoir.internal.command.PouvoirCommand.soundSuccess
import com.skillw.pouvoir.util.legacy.Mirror
import taboolib.common.platform.ProxyCommandSender
import taboolib.common.platform.command.subCommand
import taboolib.module.lang.sendLang

internal object PouMirrorCommand {
    val report = subCommand {
        execute { sender, _, _ ->
            sender.soundSuccess()
            Mirror.report(sender)
        }
    }

    val clear = subCommand {
        execute { sender, _, _ ->
            sender.soundSuccess()
            Mirror.mirrorData.clear()
            sender.sendLang("command-clear")
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy