Skip to content

Commit

Permalink
Mark mixin as client-only
Browse files Browse the repository at this point in the history
  • Loading branch information
embeddedt committed Mar 22, 2024
1 parent 4af1e27 commit d2680cf
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import net.minecraft.client.resources.model.BakedModel;
import net.minecraft.client.resources.model.ModelManager;
import net.minecraft.resources.ResourceLocation;
import org.embeddedt.modernfix.annotation.ClientOnlyMixin;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.Shadow;
import org.spongepowered.asm.mixin.injection.At;
Expand All @@ -13,6 +14,7 @@
import java.util.Map;

@Mixin(ModelManager.class)
@ClientOnlyMixin
public class ModelManagerMixin {
@Shadow private Map<ResourceLocation, BakedModel> bakedRegistry;

Expand Down

0 comments on commit d2680cf

Please sign in to comment.