Skip to content

Commit

Permalink
Fix armor models not updating when resources reload
Browse files Browse the repository at this point in the history
  • Loading branch information
KnightMiner committed May 17, 2024
1 parent 3bf06ad commit 6e3f242
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,10 @@ public ArmorModel getModel(ResourceLocation name) {
public abstract static class ArmorModelDispatcher implements IClientItemExtensions {
private ArmorModel model;

public ArmorModelDispatcher() {
DISPATCHERS.add(this);
}

/**
* Gets the name of the model to use.
* Not a constructor parameter as forge initializes client extensions before we can store fields from the parent constructor.
Expand Down

0 comments on commit 6e3f242

Please sign in to comment.