From c3c43d7af683cfc650f1a7e8dcfd3dd198dd8577 Mon Sep 17 00:00:00 2001 From: DBotThePony Date: Thu, 23 Jan 2025 12:35:11 +0700 Subject: [PATCH] Fix error message --- .../ru/dbotthepony/mc/otm/registry/objects/DecorativeBlock.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/ru/dbotthepony/mc/otm/registry/objects/DecorativeBlock.kt b/src/main/kotlin/ru/dbotthepony/mc/otm/registry/objects/DecorativeBlock.kt index 50152bc42..ad9f51052 100644 --- a/src/main/kotlin/ru/dbotthepony/mc/otm/registry/objects/DecorativeBlock.kt +++ b/src/main/kotlin/ru/dbotthepony/mc/otm/registry/objects/DecorativeBlock.kt @@ -37,7 +37,7 @@ class DecorativeBlock( val item: Item get() = _item.get() val allBlocks: Map by lazy { - check(registeredBlocks) { "Didn't register items yet" } + check(registeredBlocks) { "Didn't register blocks yet" } SupplierMap(Streams.concat(MRegistry.DYE_ORDER.stream().map { it to blockMap[it]!! }, Stream.of(null to _block))) }