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