Skip to content

Commit

Permalink
Make RecipeBookManagerMixin clientside (#1532)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
TheEpicBlock authored Nov 19, 2024
1 parent aadbec3 commit 220b57a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mod/resources/connector.mixins.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
"item.IItemExtensionMixin",
"item.ItemStackMixin",
"network.StreamCodecMixin",
"recipebook.RecipeBookManagerMixin",
"registries.DataPackRegistriesHooksAccessor",
"registries.MappedRegistryAccessor",
"registries.NeoForgeRegistriesSetupAccessor",
Expand All @@ -34,6 +33,7 @@
"client.ParticleEngineMixin",
"recipebook.RecipeBookCategoriesAccessor",
"recipebook.RecipeBookCategoriesMixin",
"recipebook.RecipeBookManagerMixin",
"registries.ItemBlockRenderTypesMixin"
],
"server": [
Expand Down

0 comments on commit 220b57a

Please sign in to comment.