com.skillw.pouvoir.internal.feature.operation.str.OperationAppend.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.feature.operation.str
import com.skillw.pouvoir.api.feature.operation.StringOperation
import com.skillw.pouvoir.api.plugin.annotation.AutoRegister
import com.skillw.pouvoir.internal.manager.PouConfig
import taboolib.common.util.join
@AutoRegister
object OperationAppend : StringOperation("append") {
override fun operate(a: String, b: String): String {
return join(arrayOf(a, b), separator = PouConfig.strAppendSeparator)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy