From 75a68c542956e168b66f4024f4c73eb0360fc455 Mon Sep 17 00:00:00 2001 From: ErnieBernie10 <30663198+ErnieBernie10@users.noreply.github.com> Date: Wed, 29 Jan 2020 12:52:03 +0200 Subject: Fixed GuiTest --- GuiTest/src/main/java/io/github/cottonmc/test/LibGuiTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'GuiTest/src/main/java/io') diff --git a/GuiTest/src/main/java/io/github/cottonmc/test/LibGuiTest.java b/GuiTest/src/main/java/io/github/cottonmc/test/LibGuiTest.java index 99c5b07..32d359d 100644 --- a/GuiTest/src/main/java/io/github/cottonmc/test/LibGuiTest.java +++ b/GuiTest/src/main/java/io/github/cottonmc/test/LibGuiTest.java @@ -34,7 +34,7 @@ public class LibGuiTest implements ModInitializer { GUI_BLOCK_ITEM = new BlockItem(GUI_BLOCK, new Item.Settings().group(ItemGroup.MISC)); Registry.register(Registry.ITEM, new Identifier(MODID, "gui"), GUI_BLOCK_ITEM); GUI_BLOCKENTITY_TYPE = BlockEntityType.Builder.create(GuiBlockEntity::new, GUI_BLOCK).build(null); - Registry.register(Registry.BLOCK_ENTITY, new Identifier(MODID, "gui"), GUI_BLOCKENTITY_TYPE); + Registry.register(Registry.BLOCK_ENTITY_TYPE, new Identifier(MODID, "gui"), GUI_BLOCKENTITY_TYPE); ContainerProviderRegistry.INSTANCE.registerFactory(new Identifier(MODID, "gui"), (int syncId, Identifier identifier, PlayerEntity player, PacketByteBuf buf)->{ -- cgit