From 220b57aecf550e95c41adac711e94ae9112cb59f Mon Sep 17 00:00:00 2001 From: TheEpicBlock <61842090+TheEpicBlock@users.noreply.github.com> Date: Tue, 19 Nov 2024 18:16:02 +0100 Subject: [PATCH] Make RecipeBookManagerMixin clientside (#1532) This class isn't marked as OnlyIn(Dist.CLIENT), but it is in NeoForge's client package. It also references many classes which are marked as client, so loading this mixin would cause issues on a server. This is normally not noticeable, but if the mixin is forcibly loaded via a mixin audit it will crash. --- src/mod/resources/connector.mixins.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/resources/connector.mixins.json b/src/mod/resources/connector.mixins.json index 1b1f292..7c8ecc6 100644 --- a/src/mod/resources/connector.mixins.json +++ b/src/mod/resources/connector.mixins.json @@ -13,7 +13,6 @@ "item.IItemExtensionMixin", "item.ItemStackMixin", "network.StreamCodecMixin", - "recipebook.RecipeBookManagerMixin", "registries.DataPackRegistriesHooksAccessor", "registries.MappedRegistryAccessor", "registries.NeoForgeRegistriesSetupAccessor", @@ -34,6 +33,7 @@ "client.ParticleEngineMixin", "recipebook.RecipeBookCategoriesAccessor", "recipebook.RecipeBookCategoriesMixin", + "recipebook.RecipeBookManagerMixin", "registries.ItemBlockRenderTypesMixin" ], "server": [