Skip to content

Commit

Permalink
Fix load order for the block map resources. Fixes #353
Browse files Browse the repository at this point in the history
  • Loading branch information
Sollace committed Dec 12, 2024
1 parent 924f327 commit 3fea0c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/eu/ha3/presencefootsteps/sound/Isolator.java
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public Isolator(SoundEngine engine) {

public boolean load(ResourceManager manager) {
boolean hasConfigurations = false;
hasConfigurations |= ResourceUtils.forEachReverse(BLOCK_MAP, manager, blocks()::load);
hasConfigurations |= ResourceUtils.forEach(BLOCK_MAP, manager, blocks()::load);
hasConfigurations |= ResourceUtils.forEach(GOLEM_MAP, manager, golems()::load);
hasConfigurations |= ResourceUtils.forEach(PRIMITIVE_MAP, manager, primitives()::load);
hasConfigurations |= ResourceUtils.forEach(LOCOMOTION_MAP, manager, locomotions()::load);
Expand Down

0 comments on commit 3fea0c7

Please sign in to comment.