com.skillw.pouvoir.api.plugin.map.MultiExecMap.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.api.plugin.map
/**
* Multi exec map
*
* @constructor Create empty Multi exec map
*/
open class MultiExecMap : LowerMap() {
/**
* Run
*
* @param thing
*/
fun run(key: String) {
filter { it.key == key.lowercase() }.forEach { it.value.invoke() }
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy