Skip to content

Commit

Permalink
Keep the list of sounds-to-register around, will either fix NoFog or …
Browse files Browse the repository at this point in the history
…it won't (ref: #4854)
  • Loading branch information
quat1024 committed Mar 9, 2025
1 parent e324ac2 commit 8c3becf
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,8 @@ public class QuarkSounds {
@LoadEvent
public static void start(ZRegister e) {
for(SoundEvent event : REGISTRY_DEFERENCE)
Quark.ZETA.registry.register(event, event.getLocation(), Registries.SOUND_EVENT);
REGISTRY_DEFERENCE.clear();
e.getRegistry().register(event, event.getLocation(), Registries.SOUND_EVENT);
//REGISTRY_DEFERENCE.clear(); //Maybe this will fix https://github.com/VazkiiMods/Quark/issues/4854 ??????
}

public static SoundEvent register(String name) {
Expand Down

0 comments on commit 8c3becf

Please sign in to comment.