Simplify registry name

This commit is contained in:
Marcel Konrad
2019-07-16 15:46:55 +02:00
parent 4fb2090221
commit f240590733
2 changed files with 2 additions and 2 deletions

View File

@@ -80,7 +80,7 @@ public class Category extends ForgeRegistryEntry<Category>
{
REGISTRY = new RegistryBuilder<Category>()
.setType(Category.class)
.setName(new ResourceLocation(String.join("_", new String[] {Main.MODID, "category"})))
.setName(new ResourceLocation(Main.MODID + "_category"))
.disableSaving()
.disableSync()
.create();

View File

@@ -50,7 +50,7 @@ public abstract class Content extends ForgeRegistryEntry<Content> implements ICo
{
REGISTRY = new RegistryBuilder<Content>()
.setType(Content.class)
.setName(new ResourceLocation(String.join("_", new String[] {Main.MODID, "content"})))
.setName(new ResourceLocation(Main.MODID + "_content"))
.disableSaving()
.disableSync()
.create();