From 3d792dbef7c7e0f186e29f2e3999f99c2c14f5d7 Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Fri, 5 Jul 2024 22:17:02 +0200 Subject: Port to 1.21 --- src/main/kotlin/moe/nea/firmament/rei/recipes/SBMobDropRecipe.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/kotlin/moe/nea/firmament/rei/recipes') diff --git a/src/main/kotlin/moe/nea/firmament/rei/recipes/SBMobDropRecipe.kt b/src/main/kotlin/moe/nea/firmament/rei/recipes/SBMobDropRecipe.kt index 5af1f9e..f0f8a6d 100644 --- a/src/main/kotlin/moe/nea/firmament/rei/recipes/SBMobDropRecipe.kt +++ b/src/main/kotlin/moe/nea/firmament/rei/recipes/SBMobDropRecipe.kt @@ -41,7 +41,7 @@ class SBMobDropRecipe(override val neuRecipe: NEUMobDropRecipe) : SBRecipe() { add(Widgets.createRecipeBase(bounds)) val source = display.neuRecipe.render val entity = if (source.startsWith("@")) { - EntityRenderer.constructEntity(Identifier(source.substring(1))) + EntityRenderer.constructEntity(Identifier.of(source.substring(1))) } else { EntityRenderer.applyModifiers(source, listOf()) } -- cgit