You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Shipping Bin crashes dedicated servers due to RecipeManagerAccessor import #262
ShippingBinBlockEntity.findRecipe casts the recipe manager to Balm's net.blay09.mods.balm.mixin.RecipeManagerAccessor instead of the mod's own net.blay09.mods.farmingforblockheads.mixin.RecipeManagerAccessor:
16: checkcast class net/blay09/mods/balm/mixin/RecipeManagerAccessor
19: invokeinterface RecipeManagerAccessor.balm$getRecipeMap:()Lnet/minecraft/world/item/crafting/RecipeMap;
36: invokevirtual RecipeMap.byType:(Lnet/minecraft/world/item/crafting/RecipeType;)Ljava/util/Collection;
Balm registers its copy under the "client" section of balm.api.mixins.json. On a dedicated server that section is never prepared, so the class is registered to a mixin config but has no generated implementation, and the direct reference is refused:
org.spongepowered.asm.mixin.transformer.throwables.IllegalClassLoadError:
Illegal classload request for net.blay09.mods.balm.mixin.RecipeManagerAccessor.
Mixin is defined in balm.api.mixins.json and cannot be referenced directly
This causes the server to die as soon as a Shipping Bin ticks with a Ticking Block Entity crash
Activity
fix: Fix `RecipeManagerAccessor` access crashing on dedicated servers T…
fix: Fix `RecipeManagerAccessor` access crashing on dedicated servers T…
fix: Fix Shipping Bin crashing on dedicated servers #262
fix: Fix Shipping Bin crashing on dedicated servers #262