mirror of
https://github.com/alexcrea/CustomAnvil.git
synced 2026-06-23 16:16:17 +02:00
add support for dungeon and taverns datapack
This commit is contained in:
parent
6930867e74
commit
a2c0037666
4 changed files with 97 additions and 1 deletions
|
|
@ -24,7 +24,8 @@ object DataPackDependency {
|
|||
*/
|
||||
private val LASTEST_VERSION = mapOf(
|
||||
Pair("bracken", Version(1, 11, 0)),
|
||||
Pair("enchantplus", Version(1, 13, 0))
|
||||
Pair("enchantplus", Version(1, 13, 0)),
|
||||
Pair("dungeons_and_taverns", Version(1, 13, 0))
|
||||
)
|
||||
|
||||
val enabledDatapacks: List<String>
|
||||
|
|
@ -53,6 +54,11 @@ object DataPackDependency {
|
|||
continue
|
||||
}
|
||||
|
||||
if (packName.contains("Dungeons and Taverns", ignoreCase = true)) {
|
||||
handlePack("dungeons_and_taverns")
|
||||
continue
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue