From cd2d46f422c76b77c94d6465c4494936ef58c956 Mon Sep 17 00:00:00 2001 From: octarine-noise Date: Sat, 29 May 2021 23:43:55 +0200 Subject: [PATCH] fix crash in resource pack selection GUI --- .../resource/generated/GeneratedBlockTexturePack.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/mods/betterfoliage/resource/generated/GeneratedBlockTexturePack.kt b/src/main/kotlin/mods/betterfoliage/resource/generated/GeneratedBlockTexturePack.kt index 8f39607..d877530 100644 --- a/src/main/kotlin/mods/betterfoliage/resource/generated/GeneratedBlockTexturePack.kt +++ b/src/main/kotlin/mods/betterfoliage/resource/generated/GeneratedBlockTexturePack.kt @@ -72,7 +72,7 @@ class GeneratedBlockTexturePack( packName, true, { this@GeneratedBlockTexturePack }, LiteralText(packName), LiteralText(packDesc), - ResourcePackCompatibility.COMPATIBLE, ResourcePackProfile.InsertionPosition.TOP, true, null + ResourcePackCompatibility.COMPATIBLE, ResourcePackProfile.InsertionPosition.TOP, true, ResourcePackSource.field_25347 ) override fun register(consumer: Consumer, factory: ResourcePackProfile.Factory) {