mirror of
https://github.com/alexcrea/CustomAnvil.git
synced 2026-06-23 16:16:17 +02:00
made pack detection more leniant
This commit is contained in:
parent
1ba5d8d38d
commit
5f5339a669
1 changed files with 3 additions and 1 deletions
|
|
@ -39,8 +39,10 @@ object DataPackDependency {
|
|||
for (packName in enabledDatapack) {
|
||||
// Handling of pack name is horrible: it is based on file name
|
||||
// So if someone rename a datapack it will make me sad
|
||||
if(!packName.startsWith("file/")) continue
|
||||
|
||||
if (packName.startsWith("file/bp_post_scarcity")) {
|
||||
if (packName.contains("bp_post_scarcity", ignoreCase = true)
|
||||
|| packName.contains("bracken", ignoreCase = true)) {
|
||||
handlePack("bracken")
|
||||
continue
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue