Skip to content

Commit be36815

Browse files
committed
Fix block IDs
1 parent 2a5e092 commit be36815

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/teamabode/verdance/core/registry/VerdanceBlocks.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -702,7 +702,7 @@ private static Block register(String name, Function<Settings, Block> block, Sett
702702
var registry = Registry.register(Registries.BLOCK, key, block.apply(settings.registryKey(key)));
703703

704704
RegistryKey<Item> itemKey = RegistryKey.of(RegistryKeys.ITEM, Verdance.id(name));
705-
Registry.register(Registries.ITEM, itemKey, new BlockItem(registry, new Item.Settings().registryKey(itemKey)));
705+
Registry.register(Registries.ITEM, itemKey, new BlockItem(registry, new Item.Settings().registryKey(itemKey).useBlockPrefixedTranslationKey()));
706706

707707
return registry;
708708
}

0 commit comments

Comments
 (0)