Skip to content

Commit

Permalink
Fix #4386 (crash when enabling VariantAnimalTextures at runtime)
Browse files Browse the repository at this point in the history
It seems okay to initialize the `textures` data structure unconditionally.
Works for me ™️
  • Loading branch information
quat1024 committed Oct 28, 2023
1 parent 36810e9 commit 9c3db1e
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,6 @@ public class VariantAnimalTexturesModule extends QuarkModule {

@Override
public void clientSetup() {
if(!enabled)
return;

textures = Multimaps.newListMultimap(new EnumMap<>(VariantTextureType.class), ArrayList::new);
shinyTextures = new HashMap<>();

Expand Down

0 comments on commit 9c3db1e

Please sign in to comment.