mirror of
https://github.com/Auxilor/Reforges.git
synced 2025-12-23 08:59:24 +00:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2ba6e6f9f3 |
@@ -34,12 +34,12 @@ class TargetYml(plugin: EcoPlugin) : StaticBaseConfig("target", plugin, ConfigTy
|
||||
}
|
||||
|
||||
/**
|
||||
* Get all materials from a target name.
|
||||
* Get a [SlotType] for the target.
|
||||
*
|
||||
* @param target The name of the target.
|
||||
* @return All materials.
|
||||
* @return The [SlotType].
|
||||
*/
|
||||
fun getSlot(target: String): SlotType {
|
||||
return SlotTypes[target] ?: SlotTypeAny
|
||||
return SlotTypes[this.getString("$target.slot")] ?: SlotTypeAny
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#libreforge-updater
|
||||
#Thu Jan 18 17:02:26 GMT 2024
|
||||
#Tue Jan 16 13:28:38 GMT 2024
|
||||
kotlin.code.style=official
|
||||
libreforge-version=4.55.2
|
||||
version=6.54.4
|
||||
libreforge-version=4.55.1
|
||||
version=6.54.2
|
||||
|
||||
Reference in New Issue
Block a user