Skip to content

Commit

Permalink
Fixed issue with blockreg
Browse files Browse the repository at this point in the history
  • Loading branch information
RealYusufIsmail committed Nov 23, 2023
1 parent ac0ac4b commit df2ea1f
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@ package io.github.realyusufismail.temporalsmith

import io.github.realyusufismail.temporalsmith.TemporalSmith.TemporalSmith.MOD_ID
import io.github.realyusufismail.temporalsmith.core.init.BlockInit
import net.minecraft.world.level.block.Blocks
import net.neoforged.neoforge.common.ModConfigSpec
import net.neoforged.neoforge.registries.ForgeRegistries
import org.apache.commons.lang3.tuple.Pair

object TemporalSmithConfig {
Expand All @@ -34,7 +32,7 @@ object TemporalSmithConfig {
builder
.comment("The block id of the return portal frame")
.translation("$MOD_ID.config.return_portal_frame_block_id")
.define("Return Portal Frame Block ID", ForgeRegistries.BLOCKS.getKey(BlockInit.ENDERITE_BLOCK.get()).toString())
.define("Return Portal Frame Block ID", BlockInit.ENDERITE_BLOCK.id.toString())


builder.build()
Expand Down

0 comments on commit df2ea1f

Please sign in to comment.