9
0
mirror of https://github.com/Auxilor/Reforges.git synced 2025-12-28 19:39:22 +00:00

Compare commits

..

7 Commits

Author SHA1 Message Date
Will FP
b3ec0a487b libreforge-updater 2024-02-08 19:48:45 +00:00
Will FP
e40d4f666f libreforge-updater 2024-01-30 11:26:40 +00:00
Will FP
37083c9980 Updated to 6.54.5 2024-01-20 15:49:38 +00:00
Will FP
f7bee746e2 Merge pull request #36
Fixed TargetYml#getSlot
2024-01-20 15:49:27 +00:00
Will FP
7fb5bfc895 libreforge-updater 2024-01-18 17:02:26 +00:00
Will FP
26765564ea 6.54.3 2024-01-17 13:05:45 +00:00
often
2ba6e6f9f3 Fixed TargetYml#getSlot 2024-01-16 18:04:40 +03:00
2 changed files with 6 additions and 6 deletions

View File

@@ -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. * @param target The name of the target.
* @return All materials. * @return The [SlotType].
*/ */
fun getSlot(target: String): SlotType { fun getSlot(target: String): SlotType {
return SlotTypes[target] ?: SlotTypeAny return SlotTypes[this.getString("$target.slot")] ?: SlotTypeAny
} }
} }

View File

@@ -1,5 +1,5 @@
#libreforge-updater #libreforge-updater
#Tue Jan 16 13:28:38 GMT 2024 #Thu Feb 08 19:48:45 GMT 2024
kotlin.code.style=official kotlin.code.style=official
libreforge-version=4.55.1 libreforge-version=4.56.0
version=6.54.2 version=6.55.0