diff --git a/build.gradle.kts b/build.gradle.kts index 38f3fca6d..c9cabe933 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -11,7 +11,7 @@ plugins { val version = "0.0.1" val group = "one.oktw" -val fabricVersion = "0.111.0+1.21.4" +val fabricVersion = "0.113.0+1.21.4" val galaxyLibVersion = "bcf8f61" repositories { @@ -43,7 +43,7 @@ loom { dependencies { // Core minecraft(group = "com.mojang", name = "minecraft", version = "1.21.4") - mappings(group = "net.fabricmc", name = "yarn", version = "1.21.4+build.1", classifier = "v2") + mappings(group = "net.fabricmc", name = "yarn", version = "1.21.4+build.2", classifier = "v2") modImplementation(group = "net.fabricmc", name = "fabric-loader", version = "0.16.9") // fabric api diff --git a/src/main/kotlin/one/oktw/galaxy/block/CustomBlock.kt b/src/main/kotlin/one/oktw/galaxy/block/CustomBlock.kt index 283a53c50..0d92b3e28 100644 --- a/src/main/kotlin/one/oktw/galaxy/block/CustomBlock.kt +++ b/src/main/kotlin/one/oktw/galaxy/block/CustomBlock.kt @@ -37,7 +37,7 @@ open class CustomBlock(final override val identifier: Identifier, val baseBlock: protected val blockEntityType: BlockEntityType = Registry.register( Registries.BLOCK_ENTITY_TYPE, identifier, - FabricBlockEntityTypeBuilder.create({ pos, _ -> createBlockEntity(pos) }, BARRIER).build(null) + FabricBlockEntityTypeBuilder.create({ pos, _ -> createBlockEntity(pos) }, BARRIER).build() ) companion object {