com.skillw.pouvoir.internal.command.sub.PouMirrorCommand.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of Pouvoir Show documentation
Show all versions of Pouvoir Show documentation
Bukkit Script Engine Plugin.
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 - 2024 Weber Informatics LLC | Privacy Policy