Fix error message

This commit is contained in:
DBotThePony 2025-01-23 12:35:11 +07:00
parent a93fe595be
commit c3c43d7af6
Signed by: DBot
GPG Key ID: DCC23B5715498507

View File

@ -37,7 +37,7 @@ class DecorativeBlock<B : Block>(
val item: Item get() = _item.get()
val allBlocks: Map<DyeColor?, B> 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)))
}