fix crash in resource pack selection GUI

This commit is contained in:
octarine-noise
2021-05-29 23:43:55 +02:00
parent 03367443b4
commit cd2d46f422

View File

@@ -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<ResourcePackProfile>, factory: ResourcePackProfile.Factory) {